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.
--
François LE DORNER
brock.heinz@gmail.com - 22 Nov 2006 20:59 GMT
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
> Environment: Java 4, Jboss 3, Hibernate 3, Oracle 10G.
> Several applications J2EE since 2 years.
[quoted text clipped - 15 lines]
> --
> François LE DORNER