facebook

Entity Generation

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

    sajid.haniff
    Member

    Hi,

    My DB schema has an explict One-One relation( the FK field is unique ) between two tables, however, when I perform a JPA entity generation the resulting objects are related via a Many-One relation.

    I would appreciate any help

    Thanks
    Saj

    #294115 Reply

    Brian Fernandes
    Moderator

    Saj,

    One to one relationship detection is not currently supported, all such relationships will be detected as Many to one instead. One to one detection will however be a part of the upcoming 7.1 release due in a few weeks. Until then you will have to manually modify the code generated. Sorry for the inconvenience caused.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Entity Generation

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