This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@Bean | |
public Properties hibernateProperties() { | |
Properties properties = new Properties(); | |
properties.put("hibernate.dialect", | |
"org.hibernate.dialect.MySQL5Dialect"); | |
properties.put("hibernate.show_sql", "true"); | |
properties.put("hibernate.hbm2ddl.auto", "create"); | |
// properties.put("hibernate.connection.driver_class", "org.h2.Driver"); | |
// properties.put("hibernate.connection.url", |
NewerOlder