wrapDataSource

abstract fun wrapDataSource(dataSource: XADataSource): DataSource

Wrap the specific XADataSource and enroll it with a JTA TransactionManager.

Return

the wrapped data source

Parameters

dataSource

the data source to wrap

Throws

if the data source cannot be wrapped