facebook

Problem with Hibernate 3 file gen. after upgrde to 4.1GA

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

    Jim Lombardo
    Member

    When generating POJOS and mapping files from my Oracle database there appears to be a huge difference in the way the POJOs are created since 4.0.3. For example, none of the data types for numeric properties are classes, but instead are primatives (double vs Double, e.g.). This is especially troublesome with regards to numeric primary keys, which should be of type Long. What gives? Nothing in my system has changed except for the move to 4.1GA.

    #245483 Reply

    Brian Fernandes
    Moderator

    We have made major changes in Hibernate reverse engineering from ME 4.1M2.

    On the second page of the RE wizard, please choose “Java types” for the Type Mapping radio, that should get you what you need.
    If you still require further customization, use page 3 to specify exactly the type you need.

    These settings are saved so that you do not need to re-enter them each time you go through the Reverse Engineering process.

    Sorry for the inconvenience,
    Best,
    Brian.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Problem with Hibernate 3 file gen. after upgrde to 4.1GA

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