persistence@glassfish.java.net

Re: Transaction isolation control

From: Farrukh Najmi <farrukh_at_wellfleetsoftware.com>
Date: Mon, 12 Nov 2007 22:15:51 -0500

Farrukh Najmi wrote:
>
> I was wondering what is the rationale for JPA to provide no
> transaction isolation control in the API.
> Specifically, what were the issues that prevented
> EntityManager.getTransaction() to have a variant that
> took a isolation level looking something like this:
>
> EntityTransaction
> <http://java.sun.com/javaee/5/docs/api/javax/persistence/EntityTransaction.html>
> *getTransaction*(int isolationLevel);

Oops. Above should read:

EntityTransaction getTransaction(int isolationLevel);

>
> What plans are there for this to be improved in future?
>
> TIA for any insights.
>


-- 
Regards,
Farrukh Najmi
Web: http://www.wellfleetsoftware.com