Java Mailing List Archive

http://www.gg3721.com/

Home » users.openjpa »

Persist method is updating my reference tables, too.

ericp56

2008-07-09


Author LoginPost Reply

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
--
Sent from the OpenJPA Users mailing list archive at Nabble.com.

©2008 gg3721.com - Jax Systems, LLC, U.S.A.