Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » EclipseLink » UnitOfWork parent(ClientSession) turns inActive
UnitOfWork parent(ClientSession) turns inActive [message #1794152] Fri, 24 August 2018 13:33
Rohan Rele is currently offline Rohan ReleFriend
Messages: 7
Registered: July 2018
Junior Member
Hello folks,

I am working on EclipseLink 2.7.0 with native non-JPA API.

The ClientSession is obtained from sessions.xml[https://gist.github.com/nairanups/ee26d72a40c81ed7d3edd56430c5c288#file-sessions-xml].

Once a UnitOfWork is acquired from the ClientSession and commit() is called, I get NPE as the isActive property of the ClientSession is false.
This indicates that the ClientSession probably is released.

However in Toplink even after isActive property of ClientSession is false, the UnitOfWork#commit() call works fine.

Is this a bug in Eclipselink or is there any timeout causing the ClientSession to be inactive.

Please advise.

Previous Topic:Toplink to Eclipselink migration
Next Topic:Generate JAXB Classes - cannot find XJCFacade
Goto Forum:
  


Current Time: Thu Sep 20 17:13:36 GMT 2018

Powered by FUDForum. Page generated in 0.01514 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top