Hibernate - reverse

F

francoisledorner

Environment: Java 4, Jboss 3, Hibernate 3, Oracle 10G.
Several applications J2EE since 2 years.
We have more than nine hundred tables in base of data.

Problems: The mapping Hibernate was not made correctly, of many
services are not reusable.
Worse, of the versions different of of the same HBM tables is found
scattered...

Since the modification of existing seems impossible to me,
I propose to make a reverse with a tool like Hibernate Tool in order to
set out again on healthy bases.

What can one propose?
Which are the limits of a tool of reverse such as Hibernate Tool?

Thank you by advance for your good answers.
 
B

brock.heinz

François,

I'm not exactly sure what you are asking, but correct me if I am wrong.
You basically have a LOT of tables and you would like to generate your
value objects / Hibernate mappings from those tables. Is that correct?


Hibernate has a facility to generate a DDL from existing objects, but
not vice versa. If my interpretation of your post is correct - I can
likely help you.

Brock Heinz
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,270
Messages
2,571,102
Members
48,773
Latest member
Kaybee

Latest Threads

Top