You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@openjpa.apache.org by Frederic Moineau <fr...@knowesia.com> on 2010/03/29 15:54:51 UTC

OPENJPA-1294

Hello,

It seems that the fix for bug OPENJPA-1294 causes a NullPointerException 
during the commit phase when openJPA property 
"openjpa.ConnectionRetainMode" is set to "always".

Call to close method on connection returned by getNewConnection also 
sets the underlying _conn of JDBCStoreManager to null.


Fred
|| 
<http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_conf_openjpa.html#openjpa.ConnectionRetainMode> 


Re: OPENJPA-1294

Posted by Michael Dick <mi...@gmail.com>.
I think Pinaki addressed this in trunk with svn revision
929184<http://svn.apache.org/viewcvs?view=rev&rev=929184>(it looks
related anyway). The change is also committed in 2.0.x.

Could you try again with the latest snapshots?

-mike

On Mon, Mar 29, 2010 at 7:54 AM, Frederic Moineau <
frederic.moineau@knowesia.com> wrote:

> Hello,
>
> It seems that the fix for bug OPENJPA-1294 causes a NullPointerException
> during the commit phase when openJPA property "openjpa.ConnectionRetainMode"
> is set to "always".
>
> Call to close method on connection returned by getNewConnection also sets
> the underlying _conn of JDBCStoreManager to null.
>
>
> Fred
> || <
> http://openjpa.apache.org/builds/1.0.2/apache-openjpa-1.0.2/docs/manual/ref_guide_conf_openjpa.html#openjpa.ConnectionRetainMode>
>
>