RE: Questions regarding 1-n bi-directional relationships...
As of version 1.4.7, bidirectional relationships are not yet supported by Orion. Jeff -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 5:26 PM To: Orion-Interest Subject: Questions regarding 1-n bi-directional relationships... I have an entity called Account, and User. One Account can have many Users (bi-directional relationship). When I add a new User to the Account, the relationship table gets updated, but the AccountId field in the User table is not updated. Is this normal? It thought that account.getUsers().addUser(user) should BOTH update the relationship table and configure the accountId field in the User table. Can someone verify this? Thanks. -AP_
RE: Questions regarding 1-n bi-directional relationships...
Title: RE: Questions regarding 1-n bi-directional relationships... If I recall correctly, bi-directional relationships _do_ work. Did you remember to create a relationship tag for each direction? -tim -Original Message- From: Alex Paransky [mailto:[EMAIL PROTECTED]] Sent: Friday, March 16, 2001 8:26 PM To: Orion-Interest Subject: Questions regarding 1-n bi-directional relationships... I have an entity called Account, and User. One Account can have many Users (bi-directional relationship). When I add a new User to the Account, the relationship table gets updated, but the AccountId field in the User table is not updated. Is this normal? It thought that account.getUsers().addUser(user) should BOTH update the relationship table and configure the accountId field in the User table. Can someone verify this? Thanks. -AP_