Skip to content

Commit

Permalink
Do not erase DB on deployment
Browse files Browse the repository at this point in the history
  • Loading branch information
QubitPi committed Nov 28, 2023
1 parent 492feb5 commit 7dca771
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -211,7 +211,7 @@ private static Properties getDefaultDbConfigs() {
final Properties dbProperties = new Properties();

dbProperties.put("hibernate.show_sql", "true");
dbProperties.put("hibernate.hbm2ddl.auto", "create");
dbProperties.put("hibernate.hbm2ddl.auto", "update");
dbProperties.put("hibernate.dialect", JPA_DATASTORE_CONFIG.dbDialect());
dbProperties.put("hibernate.current_session_context_class", "thread");
dbProperties.put("hibernate.jdbc.use_scrollable_resultset", "true");
Expand Down

0 comments on commit 7dca771

Please sign in to comment.