-->
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: specifying foreign key constraint name using annotations
PostPosted: Fri Jun 17, 2005 7:59 am 
Newbie

Joined: Fri Apr 02, 2004 9:57 am
Posts: 14
Hi,

Is it possible to define the name of the foreign key constraint using annotations?
I mean the annotation equivalent of the "foreign-key" attribute of <many-to-one>.

Thanks,
Norbi


Top
 Profile  
 
 Post subject:
PostPosted: Wed Jun 22, 2005 6:53 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
can't do that right now

_________________
Emmanuel


Top
 Profile  
 
 Post subject:
PostPosted: Sun Feb 12, 2006 4:44 pm 
Newbie

Joined: Mon Oct 24, 2005 2:19 pm
Posts: 10
And what about now - half a year later ;-)

My bulk import is faster if I drop the constraint and recreate it when I'm done. But how should I do that when the name is random?

Alternatively: Is there a way to suppress the generation of a constraint when the schema is created?


Top
 Profile  
 
 Post subject:
PostPosted: Thu Feb 16, 2006 8:39 am 
Hibernate Team
Hibernate Team

Joined: Sun Sep 14, 2003 3:54 am
Posts: 7256
Location: Paris, France
Noone provided a patch so far

_________________
Emmanuel


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.