이 콘텐츠는 선택한 언어로 제공되지 않습니다.
Chapter 2. The Narayana JTA transaction manager and Quarkus
The Narayana JTA transaction manager lets you coordinate and expose JTA transactions to your Quarkus applications. You can include the quarkus-narayana-jta extension as a dependency to your project’s pom.xml file and manage JTA transactions via annotations that are defined in the the javax.transaction package or via the Context and dependency injection (CDI).
The following table shows the most common Java Transaction APIs (JTA) annotations. .Java Transaction APIs (JTA) annotations:
| Annotation | Description |
|---|---|
|
| Provides the ability to control transaction boundaries on any CDI beans at the method level or class level |
|
| Provides the ability to specify a standard CDI scope to define bean instances whose life cycle is scoped to the currently active transaction |
You can set attributes on the @Transactional annotation to control how the transaction starts. You can apply the @Transactional annotation with attributes to individual methods or to the entire bean.