Example usage for org.hibernate.engine.transaction.jta.platform.internal JtaSynchronizationStrategy interface-usage

List of usage examples for org.hibernate.engine.transaction.jta.platform.internal JtaSynchronizationStrategy interface-usage

Introduction

In this page you can find the example usage for org.hibernate.engine.transaction.jta.platform.internal JtaSynchronizationStrategy interface-usage.

Usage

From source file org.jboss.as.jpa.hibernate5.service.WildFlyCustomJtaPlatform.java

/**
 * WildFlyCustomJtaPlatform can obtain the JTA TransactionSynchronizationRegistry to be used by
 * Hibernate ORM JPA + native applications.
 * For JPA applications, we could of passed the TransactionSynchronizationRegistry into the
 * constructor but Hibernate native apps wouldn't be able to do that, so this covers all app types.
 *