if (fbmc.getIscDBHandle() == null) {
if (fbmc.getIscDBHandle(new HashSet()) == null) {
    public void test2PCXATrans() throws Exception {                if (log != null) log.info("test2PCXATrans");        FBManagedConnectionFactory mcf = initMcf();        ManagedConnection mc = mcf.createManagedConnection(null, null);        FBManagedConnection fbmc = (FBManagedConnection)mc;        XAResource xa = mc.getXAResource();        Xid xid = new XidImpl();        xa.start(xid, XAResource.TMNOFLAGS);        if (fbmc.getIscDBHandle() == null) {            throw new Exception("no db handle after start xid");        }        xa.end(xid, XAResource.TMSUCCESS);        xa.prepare(xid);        xa.commit(xid, false);        mc.destroy();    }