Issue Details (XML | Word | Printable)

Key: NUCJPA-194
Type: Task Task
Status: Closed Closed
Resolution: Fixed
Priority: Minor Minor
Assignee: Unassigned
Reporter: Andy Jefferson
Votes: 0
Watchers: 0

If you were logged in you would be able to see more operations.
DataNucleus API JPA

Allow ignore of non-compliant J2EE container which calls EM.close contrary to the JPA spec 3.11

Created: 23/Nov/12 10:56 AM   Updated: 23/Nov/12 04:40 PM   Resolved: 23/Nov/12 10:56 AM
Component/s: API
Affects Version/s: None
Fix Version/s: 3.2.0.m1

 Description  « Hide
Some J2EE containers call EM.close on an EM that is "container-managed". This is against the JPA spec. We could provide a persistence property to ignore this non-compliant behaviour and just let it proceed

Andy Jefferson added a comment - 23/Nov/12 10:56 AM
Added persistence property "datanucleus.jpa.ignoreEntityManagerCloseByJ2EEContainer" to ignore such behaviour

Andy Jefferson made changes - 23/Nov/12 10:56 AM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 23/Nov/12 04:40 PM
Status Resolved [ 5 ] Closed [ 6 ]