-->
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: How ot specify constrint name for schema export?
PostPosted: Mon Feb 20, 2006 10:17 am 
Newbie

Joined: Mon Aug 29, 2005 2:13 am
Posts: 7
By default schema export generates meaningless names for constraints.
Is there a way to specify such names in mappings files?


Top
 Profile  
 
 Post subject: schema
PostPosted: Mon Feb 20, 2006 9:05 pm 
Expert
Expert

Joined: Fri Jul 22, 2005 2:42 pm
Posts: 670
Location: Seattle, WA
Hibernate schema generation also does not generate all the necessary indexes and constraints.
The net result: does not use H schema generation and update features. Use specialized tools to create and maintain DB schema (ErWin, DeZign). This way you will have robust and well defined schema plus it will save your time because it will speed up application startups schema verification and updates are lengthy operations and performed with every SessionFactory creation.

http://forum.hibernate.org/viewtopic.ph ... ght=dezign

_________________
--------------
Konstantin

SourceLabs - dependable OpenSource systems


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.