openjpa-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jay D. McHugh" <...@joyfulnoisewebdesign.com>
Subject Re: Problem trying to persist an entity into Derby from a Web App deployed to Geronimo
Date Fri, 13 Apr 2007 16:32:58 GMT
Thanks Abe.

Yeah, I figured that out (that I needed a transaction to get it to post).

But I then I was having problems creating a transaction within Geronimo.

I ended up having to change my persistence unit from being a 'JTA' 
transaction type to being a 'RESOURCE_LOCAL'.

Thanks,


Jay

Abe White wrote:
> It sounds like you're never starting or committing a transaction.  
> You're persisting outside of a transaction, which just means that the 
> object will be cached until the next transaction, waiting for a 
> flush/commit to be inserted into the database.
> _______________________________________________________________________
> Notice:  This email message, together with any attachments, may contain
> information  of  BEA Systems,  Inc.,  its subsidiaries  and  affiliated
> entities,  that may be confidential,  proprietary,  copyrighted  and/or
> legally privileged, and is intended solely for the use of the individual
> or entity named in this message. If you are not the intended recipient,
> and have received this message in error, please immediately return this
> by email and then delete it.
>
>
>

Mime
View raw message