FBManagedConnection.SqlInfo si = new FBManagedConnection.SqlInfo(testbuffer, GDSFactory.newGDS());
SqlInfo si = new SqlInfo(testbuffer, GDSFactory.newGDS());
    public void testSqlInfo() throws Exception {                log.info("testSqlInfo");        byte[] testbuffer = {23, //isc_info_sql_records29,  //length0,15,  //isc_info_req_update_count4,//length0,4,0,0,0,16,//isc_info_req_delete_count4,//length0,3,0,0,0,13,//isc_info_req_select_count4,//length0,2,0,0,0,14,//isc_info_req_insert_count4,//length0,1,0,0,0,1,  //isc_info_end21,  //isc_info_sql_stmt_type4,  //length0,2,  //isc_info_sql_stmt_insert0,0,0,1,  //isc_info_end0,0,0,0,0,0,0,0,0,0};        FBManagedConnectionFactory mcf = initMcf();        ManagedConnection mc = mcf.createManagedConnection(null, null);        FBManagedConnection.SqlInfo si = new FBManagedConnection.SqlInfo(testbuffer, GDSFactory.newGDS());        assertTrue("selectcount wrong " + si.getSelectCount(), si.getSelectCount() == 2);        assertTrue("insertcount wrong " + si.getInsertCount(), si.getInsertCount() == 1);        assertTrue("updatecount wrong " + si.getUpdateCount(), si.getUpdateCount() == 4);        assertTrue("deletecount wrong " + si.getDeleteCount(), si.getDeleteCount() == 3);        assertTrue("statement type wrong " + si.getStatementType(), si.getStatementType() == 2);        mc.destroy();    }