facebook

Hibernate hbm designer plugin?

  1. MyEclipse Archived
  2.  > 
  3. Database Tools (DB Explorer, Hibernate, etc.)
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #269041 Reply

    davout
    Participant

    Is there a Hibernate hbm designer IDE/plugin available that will allow me to point at various tables to create the object relationships?

    It’s painful and slow hand cranking the XML.

    #269057 Reply

    Loyal Water
    Member

    Hi davout,
    I suggest you go through the hibernate tutorial available at the following link:-
    http://www.myeclipseide.com/images/tutorials/quickstarts/introduction_to_hibernate/tutorial.html

    This will give you an idea on how to use the hibernate tools available with MyEclipse.

    #269058 Reply

    davout
    Participant

    Yes, I’ve seen these… but this only provides single table mappings.

    I’m looking for a GUI that will allow me to create a composite object mapping from multiple tables.

    #269061 Reply

    Riyad Kalla
    Member

    davout,
    Just select all the tables you want at once and rev-eng them. MyEclipse will correctly map all relationships.

    #269062 Reply

    davout
    Participant

    Is there an example/tutorial available? I’ve selected two tables – a master table and a second table that holds a foriegn key back to the master table – and it’s not obvious how to proceed beyond that.

    #269063 Reply

    Riyad Kalla
    Member

    It’s the same pattern as given in the tutorial, right-click, and go down to Hibernate Reverse Engineering…

    You will then walk through the wizards and reverse the tables.

Viewing 6 posts - 1 through 6 (of 6 total)
Reply To: Hibernate hbm designer plugin?

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