cri.setProperty(GDS.isc_dpb_user_name, "SYSDBA"); cri.setProperty(GDS.isc_dpb_password, "masterkey");
    public FBManagedConnectionFactory initMcf() {        FBManagedConnectionFactory mcf = new FBManagedConnectionFactory();        mcf.setDatabase(dbName);        FBConnectionRequestInfo cri = new FBConnectionRequestInfo();        cri.setProperty(GDS.isc_dpb_num_buffers, new byte[] {90});        cri.setProperty(GDS.isc_dpb_dummy_packet_interval, new byte[] {120, 10, 0, 0});        mcf.setConnectionRequestInfo(cri);//        GDS gds = new GDS_Impl();//        Clumplet dpb = GDSFactory.newClumplet(GDS.isc_dpb_num_buffers, new byte[] {90});//        dpb.append(GDSFactory.newClumplet(GDS.isc_dpb_dummy_packet_interval, new byte[] {120, 10, 0, 0}));//        mcf.setDpb(dpb);        HashSet tpb = new HashSet();        tpb.add(new Integer(GDS.isc_tpb_write));        tpb.add(new Integer(GDS.isc_tpb_read_committed));        tpb.add(new Integer(GDS.isc_tpb_no_rec_version));        tpb.add(new Integer(GDS.isc_tpb_wait));        mcf.setTpb(tpb);        return mcf;    }