Hi,
I have used hibernate for a while now and reasonably happy with it. For this project I thought I would use JPA. I have a persistence.xml file with my hibernate configuration.
I am able to persist data successful once I create a table. Everytime I run my application the data is data added. Its like the update configuration is default. If I drop the table, it doesnt create the table? I have the following config in my persistence.xml. I can change the value to be anything, it just seems to be ignored??? I am using the right property? Has this been depreciated?
Code:
...
<property name="hibernate.hbm2ddl.auto" value="create" />
...
I am using hibernate 4.1.5 final and have reverted back to 4.1.4 to try it but this is the same. Can someone please help.
Paul