Menu

#135 Association between FK and UNIQUE key (non PK) is ignored.

open
other (17)
5
2004-07-23
2004-07-23
Anonymous
No

Middlegen with HibernatePlugin does not seem to
detect associations defined by foreign keys that
reference UNIQUE keys (other than primary keys).
Middlegen should produce mappings for these
associations, but it doesn't at the moment.

Discussion

  • David Channon

    David Channon - 2004-07-28

    Logged In: YES
    user_id=582419

    Hibernate currently can only map one direction not both with
    this type of association. This is why its not currently mapped
    at all, eg, low priority. If I get a moment I will see if I can
    map the many-to-one side at least. I will see how messy it
    gets.

     
  • Damian ONeill

    Damian ONeill - 2005-01-07

    Logged In: YES
    user_id=583554

    Has there been any progress on this issue.

    Thanks in advance,
    Damian O'Neill.

     
  • Nobody/Anonymous

    Logged In: NO

    Sorry but I have been very busy. Patches are welcome.

     

Log in to post a comment.