Search

26.5. Using Spring PlatformTransactionManagement

download PDF
Spring's extensible transaction management provides support for many transaction APIs, including the Java Persistence API (JPA), Hibernate, Java Data Objects (JDO), and Java Transaction API (JTA). It also exposes support for many advanced features such as nested transactions. Spring also provides tight integration with many application server TransactionManagers, such as Websphere and Weblogic, and supports full Java EE transaction propagation rules, such as REQUIRES_NEW and NOT_SUPPORTED. See the Spring Documentation for further information.
To configure Seam to use Spring transactions, enable the SpringTransaction component, like so:
<spring:spring-transaction 
        platform-transaction-manager="#{transactionManager}"/>
The spring:spring-transaction component will utilizes Spring's transaction synchronization capabilities for synchronization callbacks.
Red Hat logoGithubRedditYoutubeTwitter

Learn

Try, buy, & sell

Communities

About Red Hat Documentation

We help Red Hat users innovate and achieve their goals with our products and services with content they can trust.

Making open source more inclusive

Red Hat is committed to replacing problematic language in our code, documentation, and web properties. For more details, see the Red Hat Blog.

About Red Hat

We deliver hardened solutions that make it easier for enterprises to work across platforms and environments, from the core datacenter to the network edge.

© 2024 Red Hat, Inc.