users@glassfish.java.net

JPA: persist entity A (many) without persisting B(one)

From: <glassfish_at_javadesktop.org>
Date: Fri, 11 Jul 2008 10:59:42 PDT

many to one
table A: userId itemId, boughtTime
table B: userId password


Now I want to insert rows into table B without affecting A. Is it possible in JPA? How to do it?
Any advice appreciated!
[Message sent by forum member 'bobxu' (bobxu)]

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