Hi,

If you have declared your foreign keys and you perform all the updates
in a single transaction, then OpenJPA should automatically deal with
referential integrity issues for you. Are you seeing a problem with
this?

Note that if you have not declared foreign keys, then OpenJPA has no
way to know any rules about ordering, so likely won't do the right
thing.

-Patrick

On 9/1/07, paksegu <[EMAIL PROTECTED]> wrote:
> Hi,
>   How do I use the Entity Manager to persist multiple related tables at once 
> in a web application to maintain referential integrity?
>   Thanks
>
>
> Ransford Segu-Baffoe
>
> [EMAIL PROTECTED]
>
> https://serenade.dev.java.net/
> http://www.noqturnalmediasystems.com/
>
> ---------------------------------
> Pinpoint customers who are looking for what you sell.


-- 
Patrick Linskey
202 669 5907

Reply via email to