-->
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.  [ 3 posts ] 
Author Message
 Post subject: How to customize foreign key names in hbm2ddl?
PostPosted: Sun Feb 12, 2006 12:20 am 
Newbie

Joined: Mon Oct 18, 2004 10:04 pm
Posts: 7
Hi,

Is it possible to customize the way the foreign key names are generated during schema export? Currently it generates a random and unique string like "FK98037D983288F886". I checked NamingStrategy but can't seem to find any method that gets involved in this.

Thanks.

_________________
--Jing Xue


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 4:11 am 
Hibernate Team
Hibernate Team

Joined: Tue Aug 26, 2003 6:10 am
Posts: 8615
Location: Neuchatel, Switzerland (Danish)
foreign-key="blahblha"

_________________
Max
Don't forget to rate


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 1:08 pm 
Newbie

Joined: Mon Oct 18, 2004 10:04 pm
Posts: 7
Nice. Thanks, max!

_________________
--Jing Xue


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 3 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:
cron
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.