facebook

Generate POJO’s via *.hbm.xml files inside MyEclipse

  1. MyEclipse IDE
  2.  > 
  3. Java EE Development (EJB, JSP, Struts, XDoclet, etc.)
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #234409 Reply

    jrfurman
    Member

    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

    #234411 Reply

    Riyad Kalla
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Generate POJO’s via *.hbm.xml files inside MyEclipse

You must be logged in to post in the forum log in