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
Operations

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.

Sort Order: Ascending order - Click to sort in descending order
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