-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 
Author Message
 Post subject: Problem delete tables
PostPosted: Tue Jul 21, 2009 7:55 am 
Newbie

Joined: Tue Jul 21, 2009 7:52 am
Posts: 1
Hi, i'm using Hibernate with Tomcat but every time that I shutdown the server and restart it i lost all the contents of my tables.
Is it a anything that i have to set in the config file ?

Thanks


Top
 Profile  
 
 Post subject: Re: Problem delete tables
PostPosted: Tue Jul 21, 2009 7:51 pm 
Senior
Senior

Joined: Wed Sep 19, 2007 9:31 pm
Posts: 191
Location: Khuntien (Indonesia)
havanakoda wrote:
Hi, i'm using Hibernate with Tomcat but every time that I shutdown the server and restart it i lost all the contents of my tables.
Is it a anything that i have to set in the config file ?

Thanks


Please check hibernate.hbmddl.auto in your hibernate.properties and hibernate.cfg.xml.
Just remove this line of code.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 2 posts ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.