org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform Java Examples
The following examples show how to use
org.hibernate.engine.transaction.jta.platform.internal.NoJtaPlatform.
You can vote up the ones you like or vote down the ones you don't like,
and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: NoJtaPlatformInitiator.java From hibernate-reactive with GNU Lesser General Public License v2.1 | 5 votes |
@Override public JtaPlatform initiateService(Map configurationValues, ServiceRegistryImplementor registry) { return NoJtaPlatform.INSTANCE; }
Example #2
Source File: QuarkusJtaPlatformInitiator.java From quarkus with Apache License 2.0 | 4 votes |
private NoJtaPlatform getNoJtaInstance() { return NoJtaPlatform.INSTANCE; }
Example #3
Source File: IgniteDatastoreProvider.java From hibernate-ogm-ignite with GNU Lesser General Public License v2.1 | 4 votes |
private void injectJtaPlatform(IgniteConfiguration conf) { if ( !( jtaPlatform instanceof NoJtaPlatform ) && conf.getTransactionConfiguration().getTxManagerFactory() == null ) { conf.getTransactionConfiguration().setTxManagerFactory( new IgniteTransactionManagerFactory( jtaPlatform ) ); } }