users@glassfish.java.net

Re: Desparately need help with JPA (Toplink) cache problems

From: <glassfish_at_javadesktop.org>
Date: Thu, 24 Jul 2008 13:50:39 PDT

Hello,

From the log, the xxx lines seem to show that after the commit none of the changes are in the collection. The removed 428 is still there, and the inserted 433 is missing.

Can you show the mapping from the ConfigurableHardware to ConfigurationSet? Is ordering specified by any chance? (if so, you might be seeing something similar to the bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=237545 )

You are probably right in that it has to do with versioning. If you change a basic field in the ConfigurableHardware in the same transaction that you initially add or remove from the collection, do you still see the problem?

Best Regards,
Chris
[Message sent by forum member 'chris_delahunt' (chris_delahunt)]

http://forums.java.net/jive/thread.jspa?messageID=289177