Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / November 2006

Tip: Looking for answers? Try searching our database.

Hibernate - reverse

Thread view: 
francoisledorner@hotmail.com - 22 Nov 2006 11:06 GMT
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


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.