Issue Details (XML | Word | Printable)

Key: NUCJPA-201
Type: Bug Bug
Status: Closed Closed
Resolution: Fixed
Priority: Major Major
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

More logic for EntityManager method exception throwing

Created: 12/Dec/12 12:03 PM   Updated: 31/Dec/12 07:59 PM   Resolved: 12/Dec/12 12:05 PM
Component/s: None
Affects Version/s: 3.1.3, 3.2.0.m1
Fix Version/s: 3.1.4, 3.2.0.m2

 Description  « Hide
e.g if a user calls joinTransaction when using a local transaction, what should happen? currently just proceeds and the JPA spec says nothing. Would be better to throw an IllegalStateException for consistency.

e.g what if a user has a JEE EM and consequently is using JTA. The current check is on the local transaction being active.

Andy Jefferson added a comment - 12/Dec/12 12:05 PM
SVN trunk caters for some situations now. test.jpa.general and test.jpa.jta pass as before so JSE usage is fine

Andy Jefferson made changes - 12/Dec/12 12:05 PM
Field Original Value New Value
Status Open [ 1 ] Resolved [ 5 ]
Resolution Fixed [ 1 ]
Andy Jefferson made changes - 13/Dec/12 09:11 AM
Fix Version/s 3.1.4 [ 11810 ]
Andy Jefferson made changes - 31/Dec/12 07:59 PM
Status Resolved [ 5 ] Closed [ 6 ]