On Wed, 2006-04-26 at 15:03 +0100, Mark Little wrote: > > Adrian Brock wrote: > > I've closed the JTA issue: > > http://jira.jboss.com/jira/browse/JBAS-3155 > > > > AFAIK, this originally comes from the OTS spec. > > > > Synchronizations were standardised first in the OTS. Prior to that > everyone did it in a vendor-specific manner. > > > I guess the only way an OTS backed JTA impl > > could implement the new stuff: > > http://www.jcp.org/aboutJava/communityprocess/maintenance/jsr907/907-ChangeLog.html#registerInterposedSynchronization%28javax.transaction.Synchronization%29 > > > > Is for registerSynchronization() to directly invoke > > afterCompletion() if the transaction is not active. > > > > Strikes me that the user could do this themselves anyway!? > > > > Not sure what you mean. That reference is purely about registering a > subordinate synchronization with the original transaction coordinator. > JBossTS does this already because it's an optional part of the OTS > specification. You create and enlist the sub-synchronization with the > root transaction when the context is imported and then when any local > synchronizations are added, they register with the sub-synchronization. >
I mean if a JavaEE provider uses OTS to implement JTA you cannot map the above method directly onto OTS because the co-ordinator will raise TRANSACTION_ROLLBACK Actually, OTS has slightly weaker language: "TRANSACTION_ROLLEDBACK **may be** raised if the transaction has been marked rollback only." > Mark. > > > > > On Wed, 2006-04-26 at 09:15 -0400, Emmanuel Bernard wrote: > > > >> A Seam use reported an isssue in the way Hibernate register a sync with > >> JBossTM (the old one at least). > >> I've described the issue in JIRA > >> http://jira.jboss.com/jira/browse/EJBTHREE-540 > >> > >> Please provide feedbacks on this one. We must fix that before JBoss AS > >> 4.0.4 / JBoss EJB3 / Hibernate EntityManager / Hibernate 3.2.0 get > >> released (before J1) > >> > >> This involves Mark, Steve, Bill and me > >> > >> > >> > >> > >> ------------------------------------------------------- > >> Using Tomcat but need to do more? Need to support web services, security? > >> Get stuff done quickly with pre-integrated technology to make your job > >> easier > >> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo > >> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 > >> _______________________________________________ > >> JBoss-Development mailing list > >> [email protected] > >> https://lists.sourceforge.net/lists/listinfo/jboss-development > >> -- xxxxxxxxxxxxxxxxxxxxxxxx Adrian Brock Chief Scientist JBoss Inc. xxxxxxxxxxxxxxxxxxxxxxxx ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ JBoss-Development mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jboss-development
