I am using an EntityManager to look up information in a reference table.

I use the resulting object to set an int value in a new record I will
persist.

When I persist, the new record is inserted, and the reference table is
updated (yikes).

Am I not understanding something about this?  Should I set up a second
EntityManager for "read-only" database records?

Eric
-- 
View this message in context: 
http://n2.nabble.com/Persist-method-is-updating-my-reference-tables%2C-too.-tp471292p471292.html
Sent from the OpenJPA Users mailing list archive at Nabble.com.

Reply via email to