where does hibernate lose my data?

playing with JPA, I do several transactions. It seems between the transactions, all the data is always lost from the database. Setting hibernate.hbm2ddl.auto to false seems to solve it. Strange but just give me working code plz..

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s