-->
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.  [ 4 posts ] 
Author Message
 Post subject: Incremental schema updates (SchemaExport or SchemaUpdate?)
PostPosted: Thu Apr 29, 2004 10:29 am 
Newbie

Joined: Fri Feb 20, 2004 10:55 am
Posts: 13
Friends,

I need that schema generation connect in database and generate the script only with the changes, but I dont want that the it changes the db automatically.

I have to use SchemaExport or SchemaUpdate? I guess that SchemaUpdate connect in db and make the changes itself, but the SchemaExport is not connecting in db before generate the script, although I had create the hibernate.properties, and the SchemaExport is reading it.


Paulo Marcio


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 10:30 am 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Read the documentation.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 10:50 am 
Newbie

Joined: Fri Feb 20, 2004 10:55 am
Posts: 13
I did it. I'm asking help because I did what documentation said and it doesnt work.


Top
 Profile  
 
 Post subject:
PostPosted: Thu Apr 29, 2004 3:01 pm 
Hibernate Team
Hibernate Team

Joined: Mon Aug 25, 2003 9:11 pm
Posts: 4592
Location: Switzerland
Then read it again and pay attention to the SchemaExport "--text" configuration property.

_________________
JAVA PERSISTENCE WITH HIBERNATE
http://jpwh.org
Get the book, training, and consulting for your Hibernate team.


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 4 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.