Package io.helidon.integrations.jta.jdbc
Class XADataSourceWrappingDataSource
java.lang.Object
io.helidon.integrations.jdbc.AbstractCommonDataSource
io.helidon.integrations.jdbc.AbstractDataSource
io.helidon.integrations.jta.jdbc.XADataSourceWrappingDataSource
- All Implemented Interfaces:
Wrapper,CommonDataSource,DataSource
@Deprecated(forRemoval=true,
since="3.0.3")
public final class XADataSourceWrappingDataSource
extends AbstractDataSource
Deprecated, for removal: This API element is subject to removal in a future version.
This class is slated for removal with no replacement.
-
Constructor Summary
ConstructorsConstructorDescriptionXADataSourceWrappingDataSource(XADataSource xaDataSource, Consumer<? super XAResource> resourceEnlister) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newXADataSourceWrappingDataSource. -
Method Summary
Modifier and TypeMethodDescriptionDeprecated, for removal: This API element is subject to removal in a future version.getConnection(String username, String password) Deprecated, for removal: This API element is subject to removal in a future version.Methods inherited from class io.helidon.integrations.jdbc.AbstractDataSource
isWrapperFor, unwrapMethods inherited from class io.helidon.integrations.jdbc.AbstractCommonDataSource
getLoginTimeout, getLogWriter, getParentLogger, setLoginTimeout, setLogWriterMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface javax.sql.CommonDataSource
createShardingKeyBuilder, getParentLoggerMethods inherited from interface javax.sql.DataSource
createConnectionBuilder, getLoginTimeout, getLogWriter, setLoginTimeout, setLogWriter
-
Constructor Details
-
XADataSourceWrappingDataSource
public XADataSourceWrappingDataSource(XADataSource xaDataSource, Consumer<? super XAResource> resourceEnlister) Deprecated, for removal: This API element is subject to removal in a future version.Creates a newXADataSourceWrappingDataSource.- Parameters:
xaDataSource- theXADataSourceto wrap; must not benullresourceEnlister- aConsumerofXAResourceinstances that enlists them in an active XA transaction; must not benull
-
-
Method Details
-
getConnection
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
SQLException
-
getConnection
Deprecated, for removal: This API element is subject to removal in a future version.- Throws:
SQLException
-