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