-->
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.  [ 1 post ] 
Author Message
 Post subject: Hibernate 3.2.3, foreign-key and index names
PostPosted: Fri Jun 03, 2011 4:29 am 
Newbie

Joined: Tue Jan 18, 2005 8:02 am
Posts: 1
Hi, all!

I'm using hbm2dll to generate the DDL file from *.hbm.xml files. Due to requirements of my current project the names of database constraints (primary, foreign, unique key) and indexes must follow some strict naming rules. The foreign key and index names can be set in the hbm.xml files. Unfortunately I cannot use this approach for technical reasons (long story). Instead I would just modify the constraint names etc. in the DDL file.
My question is, will it (changing the "expected" names of constraints and indexes) affect/break Hibernate runtime somehow? I.e. does Hibernate "engine" refer to constraints by name or smth like that? Btw, I'm not using schema creation on the fly.

Thanks in advance,
Jaanus


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

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.