Spring boot with H2 Database auto create
问题 I am using embeded H2 in my java application via spring boot. Currently, it creates(overrides) my tables in the DB. But once I push it to production I do not want my tables to be wiped off and recreated, so I wont lose the previous datas in the tables. But I am not sure how to accomplish this. Not sure what to put on the line spring.jpa.hibernate.ddl-auto=create . I tried validate and other options but did not work out. Here is my application.properties. Thanks spring.jpa.generate-ddl=true