You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@openjpa.apache.org by ericp56 <er...@twcable.com> on 2008/07/09 22:31:34 UTC

Persist method is updating my reference tables, too.

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.