-->
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: Database schema comparison using Hibernate
PostPosted: Mon Dec 04, 2006 4:45 am 
Newbie

Joined: Mon Dec 04, 2006 4:25 am
Posts: 1
Hi,
My requirement is to compare two database schema for changes in structure as well as data. So i should have two databases which i hereby refer to as source and target.

Now the problem is that I have hibernate mapping files as input for both source and target databases.

My question is, whether it is possible to compare or fetch schema details when only the mapping information is given. I understand by reading the hibernate docs that the mapping files are Java centric and is not based on database declaration.

Can there be a solution to this?

I've tried out by comparing the meta-data by direct JDBC calls, But i am forced to opt the first approach.

Please reply.
Thanks in advance.


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.