-->
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: Extract hibernate metadata regarding tables relationship
PostPosted: Mon Jul 30, 2007 10:48 am 
Newbie

Joined: Sun Apr 29, 2007 4:27 am
Posts: 10
Location: Israel
Hey!

By using EntityListener I’ve created a log of all changes made on the DB.
I want to use this log to perform all those changes on a copy of the DB,
But when trying to do so, I fail due to constraints failure.

Obviously, I have to order the batch commands before executing.
So the question is – How can I use hibernate metadata to get the tables
relationships so I can order them correctly?

[Pay attention! In the log file due to the way @preRemove works, the containerAppears before its containment!]

Thanks!
Sharon.


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.