openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <eric.phettepl...@twcable.com>
Subject Persist method is updating my reference tables, too.
Date Wed, 09 Jul 2008 20:31:34 GMT

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.


Mime
View raw message