facebook

upgrading to hibernate 3

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

    aturetsky
    Member

    I just upgraded from 3.8.4 to 4.0 m2. My project is currently using hibernate 2.1 supported by 3.8.4. I imported my project into myelcipse 4.0 M2. What’s the smoothest way to upgrade the hibernate capabilities in the project to hibernate 3, supported by this latest release of yours.

    #233135 Reply

    Riyad Kalla
    Member

    There isn’t a migration wizard, what you would need to do is update the library files manuall and also edit the .myhibernatedata file and add a line if it doesn’t already exist:
    version=3.0

    if it does already exist, change the valu eto read 3.0. Then close your project, restart MyEclipse and reopen it.

    #233136 Reply

    aturetsky
    Member

    thanks, now does my eclipse already contain the necessary jars or do I need to download them from hibernate.org?

    #233137 Reply

    Riyad Kalla
    Member

    It contains them, then I don’t believe you can re-add Hibernate Capabilities in order to force MyEclipse to copy over the new JARs, taht’s why I suggested you do that part manually.

    #233138 Reply

    aturetsky
    Member

    I understand – too bad there’s no way to disable hibernate capabilites and then enable the new one.
    thanks.

Viewing 5 posts - 1 through 5 (of 5 total)
Reply To: upgrading to hibernate 3

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