javax.transaction.Transaction
E836471
javax.transaction.Transaction is a core Java interface representing a transactional context, providing operations to control and manage distributed transactions in the Java Transaction API (JTA).
All labels observed (1)
| Label | Occurrences |
|---|---|
| javax.transaction.Transaction canonical | 1 |
How this entity was disambiguated
This entity first appeared as the object of triple T10020000 — resolving that mention is where its identity was fixed. The disambiguator weighed these candidate entities and picked the highlighted one (or “None”, minting a new entity). This is how homonymy is resolved: the same surface form can point to different entities.
Target entity: javax.transaction.Transaction Context triple: [Java Transaction API, hasComponent, javax.transaction.Transaction]
-
A.
javax.transaction.TransactionManager
javax.transaction.TransactionManager is a core Java interface that provides programmatic control over distributed transactions, including beginning, committing, and rolling back transactional work across multiple resources.
-
B.
Java Transaction API
Java Transaction API is a Java specification that provides a standard interface for managing distributed transactions across multiple resources in enterprise applications.
-
C.
Jakarta Transactions
Jakarta Transactions is the Jakarta EE specification that defines a standard API and infrastructure for managing distributed transactions in Java enterprise applications.
-
D.
EntityTransaction
EntityTransaction is a Java Persistence API interface that manages the boundaries and lifecycle of resource-local transactions for entity managers.
-
E.
javax.sql
javax.sql is a Java package that provides extended JDBC support for database access, including connection pooling, distributed transactions, and rowset implementations.
- F. None of above. chosen
- G. Unsure - the case is ambiguous/there is not enough information to decide.
Target entity: javax.transaction.Transaction Target entity description: javax.transaction.Transaction is a core Java interface representing a transactional context, providing operations to control and manage distributed transactions in the Java Transaction API (JTA).
-
A.
javax.transaction.TransactionManager
javax.transaction.TransactionManager is a core Java interface that provides programmatic control over distributed transactions, including beginning, committing, and rolling back transactional work across multiple resources.
-
B.
Java Transaction API
Java Transaction API is a Java specification that provides a standard interface for managing distributed transactions across multiple resources in enterprise applications.
-
C.
Jakarta Transactions
Jakarta Transactions is the Jakarta EE specification that defines a standard API and infrastructure for managing distributed transactions in Java enterprise applications.
-
D.
EntityTransaction
EntityTransaction is a Java Persistence API interface that manages the boundaries and lifecycle of resource-local transactions for entity managers.
-
E.
javax.sql
javax.sql is a Java package that provides extended JDBC support for database access, including connection pooling, distributed transactions, and rowset implementations.
- F. None of above. chosen
Statements (48)
| Predicate | Object |
|---|---|
| instanceOf |
JTA interface
ⓘ
Java interface ⓘ transactional context abstraction ⓘ |
| controls |
transaction completion
ⓘ
transaction rollback behavior ⓘ |
| definedIn |
Jakarta EE (as javax.transaction in legacy namespaces)
NERFINISHED
ⓘ
Java EE platform NERFINISHED ⓘ |
| language | Java NERFINISHED ⓘ |
| manages | enlisted XA resources ⓘ |
| method |
boolean delistResource(javax.transaction.xa.XAResource xaRes, int flag) throws java.lang.IllegalStateException, java.lang.SystemException
ⓘ
boolean enlistResource(javax.transaction.xa.XAResource xaRes) throws java.lang.RollbackException, java.lang.IllegalStateException, java.lang.SystemException ⓘ int getStatus() throws java.lang.SystemException ⓘ void commit() throws javax.transaction.RollbackException, javax.transaction.HeuristicMixedException, javax.transaction.HeuristicRollbackException, java.lang.SecurityException, java.lang.IllegalStateException, java.rmi.RemoteException ⓘ void rollback() throws java.lang.IllegalStateException, java.lang.SecurityException, java.rmi.RemoteException ⓘ void setRollbackOnly() throws java.lang.IllegalStateException, java.lang.SystemException ⓘ |
| partOf |
Java Transaction API
NERFINISHED
ⓘ
javax.transaction package ⓘ |
| purpose |
control distributed transactions
ⓘ
coordinate work done in a transaction ⓘ represent a transactional context ⓘ |
| scope | single global transaction ⓘ |
| statusValue |
javax.transaction.Status.STATUS_ACTIVE
ⓘ
javax.transaction.Status.STATUS_COMMITTED ⓘ javax.transaction.Status.STATUS_MARKED_ROLLBACK ⓘ javax.transaction.Status.STATUS_NO_TRANSACTION ⓘ javax.transaction.Status.STATUS_PREPARED ⓘ javax.transaction.Status.STATUS_ROLLEDBACK ⓘ javax.transaction.Status.STATUS_UNKNOWN ⓘ |
| supportsOperation |
commit()
ⓘ
delistResource(javax.transaction.xa.XAResource,int) ⓘ enlistResource(javax.transaction.xa.XAResource) ⓘ getStatus() ⓘ rollback() ⓘ setRollbackOnly() ⓘ |
| throwsException |
java.lang.IllegalStateException
ⓘ
java.lang.SecurityException ⓘ java.lang.SystemException ⓘ java.rmi.RemoteException ⓘ javax.transaction.HeuristicMixedException NERFINISHED ⓘ javax.transaction.HeuristicRollbackException NERFINISHED ⓘ javax.transaction.RollbackException NERFINISHED ⓘ |
| usedBy |
application servers implementing JTA
ⓘ
javax.transaction.TransactionManager NERFINISHED ⓘ javax.transaction.UserTransaction NERFINISHED ⓘ |
| usedIn |
distributed transaction processing
ⓘ
enterprise Java applications ⓘ two-phase commit protocols ⓘ |
| usesResourceType | javax.transaction.xa.XAResource NERFINISHED ⓘ |
How these facts were elicited
The pipeline generated the facts above by prompting gpt-5.1 with this entity's name + description and the instruction below.
You are a knowledge base construction expert. Given a subject entity and a description of it, return factual statements that you know for the subject as a JSON list of dictionaries(triples), where keys must be "subject", "predicate" and "object". The number of facts may be very high, between 25 to 50 or more, for very popular subjects. For less popular subjects, the number of facts can be very low, like 5 or 10. # Requirements - If you don't know the subject at all, return an empty list. - If the subject is not a named entity, return an empty list. - Include at least one triple where predicate is "instanceOf". - Do not get too wordy. - Separate several objects into multiple triples with one object.
Subject: javax.transaction.Transaction Description of subject: javax.transaction.Transaction is a core Java interface representing a transactional context, providing operations to control and manage distributed transactions in the Java Transaction API (JTA).
Referenced by (1)
Full triples — surface form annotated when it differs from this entity's canonical label.