facebook

Hibernate controlling reverse engineering – inverse="fa

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

    Marc Borgers
    Member

    Hi,

    I have a n-m connection between two tables and generate the hibernate config using reverse engineering.
    Is there a way to conytrol the ‘inverse’ property of the set ?

    this is what is generated:
    <set name=”hibSwreleases” table=”BLOCKED_ABC_SWRELEASE” inverse=”true” lazy=”true” fetch=”select” schema=”PLS_DB”>

    I want the inverse’ property set to false

    Thanks,
    Marc

    #317359 Reply

    support-swapna
    Moderator

    mborgers,

    As far as my knowledge goes, the inverse value depends on the mapping. If it is a many – many mapping then one of them will be inverse=”false”. You will need to manually edit in other cases.

    Please go through this link on controlling the reverse engineering :
    http://docs.jboss.org/tools/2.1.0.Beta1/hibernatetools/html/reverseengineering.html
    https://forum.hibernate.org/viewtopic.php?f=6&t=1001988&start=0

    I suggest you cross post this query to the JBoss or Hibernate forums for better support.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Hibernate controlling reverse engineering – inverse="fa

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