jsr338-experts@jpa-spec.java.net

[jsr338-experts] Re: new spec draft (Final Release candidate)

From: Scott Marlow <smarlow_at_redhat.com>
Date: Tue, 19 Mar 2013 15:53:24 -0400

Hi Linda,

In 7.9.2, we should change "container" to "provider":

"
When the JTA transaction rolls back, the provider must detach all
managed entities if the persistence context is of type
SynchronizationType.SYNCHRONIZED or has otherwise been joined to the
transaction. Note that the JTA transaction may rollback in a background
thread (e.g., as a result of transaction timeout), in which case the
*provider* should arrange for the managed entities to be detached from
the persistence context but not concurrently while the application is in
an EntityManager invocation.
"

Scott

On 03/19/2013 03:40 PM, Linda DeMichiel wrote:
> I've just uploaded a new spec draft and javadocs to our project
> downloads area: http://java.net/projects/jpa-spec/downloads
>
> These reflect the recent updates to the StoredProcedureQuery
> interface, clarifications with regard to transaction rollback on a
> background thread, and minor clarification to the result of the
> EMF.getCache method. Changebars reflect changes since the Proposed
> Final Draft.
>
> We are closing in on the Java EE 7 target release date.
> Please therefore let me know if you find any issues with this
> draft, or any reason that it should not be submitted for the
> JPA 2.1 Final Release.
>
> thanks,
>
> -Linda