facebook

Hibernate Reverse Engineering SQL Uniqueidentifiers

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

    skidancer
    Participant

    Hi All,

    Does anyone know how to reverse engineer a SQL Server uniqueidentifier field into java.util.UUID (or whatever is correct)? I’m guessing that one has to set up a custom mapping but I can’t figure out how to do this using MyEclipse.

    Thanks,

    David

    #285553 Reply

    Loyal Water
    Member

    David,
    On the second page of the Reverse Engineering Wizard, you can manually map the uniqueidentifire to the java.util.UUID. You can do this in the Customized Type Mapping table.

    HTH

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hibernate Reverse Engineering SQL Uniqueidentifiers

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