40414243444546
{ StandardXADataSource ds = new StandardXADataSource(); ds.setDriverName(EMBEDDED_DRIVER_NAME); ds.setUrl(EMBEDDED_CONNECTION_STRING); ds.setTransactionManager(txManager); return new DataSourceWrapper(ds); }
428429430431432433434435436437438
public void setDataSource(DataSource dataSource) { if (dataSource instanceof XADataSource) { this.dataSource = new DataSourceWrapper((XADataSource) dataSource); } else { this.dataSource = dataSource; }
41424344454647