On Mon, Mar 24, 2008 at 1:29 PM, SilverAnvil <
silveranvil-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> Hello fellow AJUGers,
>
> I'm working on a project where we're updating an existing code base from EJB
> 2 to EJB 3 and ran into a problem that I'm hoping someone here has already
> solved.
>
> In our 2.x beans, we're using the delay-updates-until-end-of-tx element in
> our weblogic-ejb-jar.xml file and setting the value to FALSE so that the
> WebLogic server will call ejbStore() after each method call, which updates
> the database but doesn't commit the data so we can still roll back if
> necessary.
>
> Is there an equivalent under JPA? We're currently using OpenJPA, which is
> the default for WebLogic 10, but can probably switch to Hibernate if
> necessary.
>
> Thanks for any help you can give,
> Burk Hufnagel
> (Speaker at our next meeting. And no, the topic isn't EJB 3.0 or JPA.)
>
> --
> "The only rules that really matter are these: what a man can do and what a
> man can't do." Captain Jack Sparrow