transactionConfig.setDataSource(DataSourceFactory.getDataSource());
((ExternalTransactionConfig) transactionConfig).setDefaultAutoCommit(true);
ExtendedSqlMapClient extendedClient = (ExtendedSqlMapClient) sqlMapper;
transactionConfig.setMaximumConcurrentTransactions(extendedClient.getDelegate().getMaxTransactions());
extendedClient.getDelegate().setTxManager(new TransactionManager(transactionConfig));
//sqlMapper = extendedClient;
transactionConfig = (TransactionConfig) transactionConfigClass.newInstance();
transactionConfig.setDataSource(DataSourceFactory.getDataSource());
((ExternalTransactionConfig) transactionConfig).setDefaultAutoCommit(true);
extendedClient = (ExtendedSqlMapClient) sqlMapper2;
transactionConfig.setMaximumConcurrentTransactions(extendedClient.getDelegate().getMaxTransactions());
extendedClient.getDelegate().setTxManager(new TransactionManager(transactionConfig));
//sqlMapper2 = extendedClient;
//*/