DataNucleus JIRA is now in read-only mode. Raise any new issues in GitHub against the plugin that it applies to. DataNucleus JIRA will remain for the foreseeable future but will eventually be discontinued
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

Sort Order: Ascending order - Click to sort in descending order
Andy Jefferson added a comment - 23/Nov/12 10:56 AM
Added persistence property "datanucleus.jpa.ignoreEntityManagerCloseByJ2EEContainer" to ignore such behaviour