posted 15 years ago
Hi all,
So im doing some examples from the book im reading. and i removed the following line from the persistence.xml file
<property name="hibernate.hbm2ddl.auto" value="create-drop"/>
because i do not want the app server to generate the tables for me as i have created them manually. But when i take this line out the @Id autogeneration does not work. Can any one please help me in this regard? How can i stop the app server from creating and dropping the schema's automatically and at the same time make a @Id autogeneration work? Any help is much appreciated.
Thank you
Dinuka
if who i am is what i have, and what i have is lost, then who am i?<br /> <br />SCJP 5.0<br />SCWCD 1.4<br />SCBCD preparing