-->
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: Foreign keys reverse engineering
PostPosted: Fri Feb 29, 2008 6:36 am 
Newbie

Joined: Thu Mar 08, 2007 5:14 pm
Posts: 6
Hello,

Is there any way to get list of all foreign keys used in application? We are using hbm.xml files, all foreign keys are named and we need to retrieve those name just to drop all constraints (don't ask why - we just need it). Does anyone know how to get foreign keys' names?

Best regards,
tytus


Top
 Profile  
 
 Post subject:
PostPosted: Fri Feb 29, 2008 6:38 am 
Regular
Regular

Joined: Wed Jan 25, 2006 1:11 am
Posts: 118
Location: Copenhagen, Denmark
A suggestion would be to take a look in the source on how SchemaExport does this


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.