users@glassfish.java.net

Re: Generated query is wrong in simple one-to-one...bug?

From: <glassfish_at_javadesktop.org>
Date: Thu, 13 Dec 2007 14:42:01 PST

Are lotMasterYear and lotMasterNumber really Ids? Your @OneToOne doesn't specify the join columns, so all PK fileds are assumed to be mapped to the corresponding FKs.

regards,
-marina
[Message sent by forum member 'mvatkina' (mvatkina)]

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