Hi Erik,

On Apr 9, 2006, at 5:35 AM, Erik Bengtson wrote:



4. If both sides are set, and they disagree, what happens?

At commit or flush time, an exception is thrown by the JDO
implementation.


If one of the sides is null it should also raise an exception since you can't
decide for the user which one is correct.

This is true if the application set both sides and one of the sides was set by the application to null. This is a conflict. But if the value was stored as null in the database, and retrieved, and only one side was changed by the application, then at flush/commit time the relationship would be established.

Is there a specific issue in the TCK?

Craig

Craig Russell
Architect, Sun Java Enterprise System http://java.sun.com/products/jdo
408 276-5638 mailto:[EMAIL PROTECTED]
P.S. A good JDO? O, Gasp!

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to