"External XADataSource: XA transaction support must be enabled to use XADataSources");
}
connectionFactory = new DataSourceXAConnectionFactory(
dataService.getDSSTxManager().getTransactionManager(), (XADataSource) externalDS);
} else {
connectionFactory = new DataSourceConnectionFactory(externalDS);
}
} else {
connectionFactory = new DriverManagerConnectionFactory(jdbcURL, userName, password);
if (dataService.isEnableXA()) {
connectionFactory = new LocalXAConnectionFactory(