users@glassfish.java.net

Re: Two entity classes mapped to same table

From: <glassfish_at_javadesktop.org>
Date: Fri, 18 May 2007 16:51:00 PDT

I got it!

It turns out one of the fields in one of the entities was annotated @Version afterall. After removing this annotation, I could update multiple entities mapped to a single row, in a single transaction - no problem!

Thanks everyone,


Andrew
[Message sent by forum member 'asmithgf' (asmithgf)]

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