Community
Participate
Working Groups
Requirement: ------------ The enterprise manager group requires a way to filter whether the session attached to a runtime services is an EclipseLink JPA or TopLink BMP session on the WebLogic server. Constraints: ------------ 1) No weblogic.jar API dependencies are to be introduced - Use reflective calls into weblogic.work.ExecuteThreadRuntime - if required 2) try not to add any dependency on the JPA component - even though the unrelated workaround fix for bug# 229634 already introduced dependencies 3) Possibly create a 10_3 subclass of the WebLogic_10_Platform class
Currently EclipseLink supports JPA sessions on the container only. A function will be added to EclipseLink that always returns true. For other providers, the absence of this isJPASession() function (unset false) or false value will signify that the provider is other than EclipseLink. This simplified functionality will avoid an instanceof check on session.acquireUnitOfWork().
Created attachment 117470 [details] eclipselink core patch
see rev 2747 http://fisheye2.atlassian.com/changelog/eclipselink
The Eclipselink project has moved to Github: https://github.com/eclipse-ee4j/eclipselink