openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daryl Stultz <da...@6degrees.com>
Subject Re: Multiple updates within same transaction
Date Tue, 22 Sep 2009 00:51:19 GMT
On Mon, Sep 21, 2009 at 5:13 PM, Radhika <radhikagopinath@yahoo.com> wrote:

>
>
> However, in some cases I want to do the following
>
> transaction.begin();
> addParent();
> addChild();
> transaction.commit();
>
>
I'm not a developer and certainly no expert, but you might try @ForeignKey.
I think this helps order SQL statements at commit time.

-- 
Daryl Stultz
_____________________________________
6 Degrees Software and Consulting, Inc.
http://www.6degrees.com
mailto:daryl@6degrees.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message