facebook

Possible Hibernate mapping bug

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

    Brian Fernandes
    Moderator

    Greg,

    On the 3rd page of the RE wizard (only in 4.1M2), expand the table and select your column. In the Hibernate Type field, type in “string” and that should do it for you.
    This setting is saved in a reverse engineering settings file and will be used for all generation henceforth so you don’t have to do this repeatedly.

    FYI: For standard JDBC types (TEXT is not a standard JDBC type) you can make a global setting on the second page of the RE wizard, click “Add” and then proceed to edit the row with your JDBC -> Hibernate type mapping.

    Let us know if this works for you.

    Best,
    Brian.

    #247123 Reply

    thurisaz
    Member

    same problem here… waiting for 4.1.1….

    #247138 Reply

    Brian Fernandes
    Moderator

    Thurisaz,

    Just to be clear, could you please restate the problem you’re experiencing?
    Also, I proposed a workaround in the previous post, does that work for you?

    Best,
    Brian.

    #247189 Reply

    Haris Peco
    Member

    Hi,

    This have fixed in 4.1.1 – you got string type for nonstandard types

    Best

Viewing 4 posts - 16 through 19 (of 19 total)
Reply To: Possible Hibernate mapping bug

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