openjpa-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ericp56 <>
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

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?

View this message in context:
Sent from the OpenJPA Users mailing list archive at

View raw message