Post subject: Generate POJO's via *.hbm.xml files inside MyEclipse Posted: Aug 09, 2005 - 01:36 AM
Veteran Member
Joined: Apr 19, 2005
Posts: 25
Hi sorry if this seems totally off base, but I want to make sure that I understand the MyEclipseIDE power when it comes to Hibernate.
Ok, with the help of the great Hibernate MyEclipse tutorial I am able to navigate to a table and create the *.hbm.xml files and the associated classes. But now I’d like to edit the *.hbm.xml file and regenerate the classes based on my changes. How do I do this inside the MyEclipseIDE tool?
Thanks,
JR
support-rkalla
Post subject:Posted: Aug 09, 2005 - 02:24 AM
Registered Member
Joined: Jan 06, 2004
Posts: 23855
JR,
We currently don't support that direction of generation but will in a future release. Right now the work flow goes:
DB -> XML & Java Source
It is on our TODO list to offer:
XML -> Java Source
generation as well. We also have a Hibernate visual mapper in the works that will allow you to manually build the relationships before generating the XML and Java source, so hopefully most of the manual corrections you need to make in the XML will no logner be needed. The visual mapper was postponed until 5.0 because user demand showed Hibernate 3 support was more important in the existing tool set instead of adding the visual mapper.