Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [jta-dev] Definition of active?

That makes sense, there is only one logical (or actual) coordinator and the transaction is active (modulo ROLLBACK_ONLY) up until the point that the coordinator is instructed to start the 2PC part of the model.

On Mon, Nov 14, 2022 at 5:41 PM Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> wrote:


On Mon, 14 Nov 2022 at 15:21, Laird Nelson <ljnelson@xxxxxxxxx> wrote:
On Mon, Nov 14, 2022 at 7:00 AM Tom Jenkinson <tom.jenkinson@xxxxxxxxxx> wrote:
"A transaction is associated with the target object and it is in the active state. An implementation returns this status after a transaction has been started and prior to a Coordinator issuing any prepares, unless the transaction has been marked for rollback."

Thanks. So "an implementation" is really something like "an implementation of Transaction#getStatus(), TransactionManager#getStatus(), UserTransaction#getStatus() and TransactionSynchronizationRegistry#getTransactionStatus()", i.e. there is no difference in the semantics of the status codes returned by these methods, correct?

I would intrerpret that the "implementation" refers to a compatible implementation of the Jakarta Transactions specification. A compliant implementation would cover implementations of those specific methods you referred to and I expect implementations of those methods should be consistent.
 

L
_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jta-dev
_______________________________________________
jta-dev mailing list
jta-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/jta-dev


--
Michael Musgrove

JBoss, by Red Hat
Registered Address: Red Hat Ltd, 6700 Cork Airport Business Park, Kinsale Road, Co. Cork.
Registered in the Companies Registration Office, Parnell House, 14 Parnell Square, Dublin 1, Ireland, No.304873
Directors:Michael Cunningham (USA), Vicky Wiseman (USA), Michael O'Neill, Keith Phelan, Matt Parson (USA)



Back to the top