Monday 19 January 2015

spring jpa auto create- update table mysql

spring jpa auto create- update table mysql

add this in persistence.xml

<property name="hibernate.hbm2ddl.auto">create</property>
OR
<property name="hibernate.hbm2ddl.auto">Update</property>

No comments:

Post a Comment