String name = adapt.getName();
String txm = adapt.getTransactionManager();
Properties prop = adapt.getTransactionManagerParameters();
AbstractProperties properties = CPAProperties.getInstance();
TransactionManagerRegistry txr = new TransactionManagerRegistry(properties);
try {
txr.registerTransactionManager(name, txm, prop);
_txManager = txr.getTransactionManager(name);
} catch (TransactionManagerAcquireException ex) {
throw new MappingException(ex);
}
initializeEngine(_jdoConf.getDatabase(_index).getEngine());