jcd.setUseAutoCommit(2);
// use this attribute to allow OJB changing initial state of connections
jcd.addAttribute("initializationCheck", "true");
mm.connectionRepository().addDescriptor(jcd);
Connection con = conFac.lookupConnection(jcd);
Connection con2 = conFac.lookupConnection(jcd);
Connection con3 = conFac.lookupConnection(jcd);
assertFalse("Expect autocommit state false", con.getAutoCommit());
con.close();
con2.close();