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
|
|