Skip to main content

[jpa-spec users] [jsr338-experts] minor bug in spec

  • From: Linda DeMichiel <linda.demichiel@...>
  • To: jsr338-experts@...
  • Subject: [jpa-spec users] [jsr338-experts] minor bug in spec
  • Date: Wed, 20 Mar 2013 11:50:33 -0700
  • List-id: <jsr338-experts.jpa-spec.java.net>
  • Organization: Oracle Corporation

When I was reviewing the spec last night, I noticed the following problem.

The restriction against propagating persistence contexts of type
SynchronizationType.UNSYNCHRONIZED into PCs of type SYNCHRONIZED
currently states:

"If there is a persistence context of type SynchronizationType.UNSYNCHRONIZED
associated with the JTA transaction and the target component specifies
a persistence context of type SynchronizationType.SYNCHRONIZED, an
EJBException is thrown by the container."

This is inappropriate, since the components involved may not be EJBs.

I plan to change it to state that the IllegalStateException is thrown.

-Linda


[jpa-spec users] [jsr338-experts] minor bug in spec

Linda DeMichiel 03/20/2013
 
 
Close
loading
Please Confirm
Close