-->
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: using data from existing db with hibernate
PostPosted: Tue Jul 03, 2007 3:54 am 
Newbie

Joined: Tue Nov 14, 2006 9:05 am
Posts: 8
Hello, I've an existing db(firebird) with lots of data and I've to implement a new application which has to use the legacy data.
All tables has ids with type integer and the legacy models have ids of type integer and will change a little bit. (adding new fields).

I must bind (hook up)this db with hibernate and use the legacy data but i don't know what configurtation i've to do to use the db data with hibernate.


My idea is to create for each model "x" a x-hbm.xml. Is that the right approach?
Can someone tell me which steps i've to take to use my old data with hibernate in my new application?
thanks


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.