696697698699700701702703704705706
new ifc.sdbc._XResultSetUpdate.UpdateTester() { String lastUpdate = null; public int rowCount() throws SQLException { int prevPos = xResSet.getRow(); xResSet.last(); int count = xResSet.getRow(); xResSet.absolute(prevPos); return count;
495496497498499500501502503504505
new ifc.sdbc._XResultSetUpdate.UpdateTester() { String lastUpdate = null ; public int rowCount() throws SQLException { int prevPos = xResSet.getRow() ; xResSet.last() ; int count = xResSet.getRow() ; xResSet.absolute(prevPos) ; return count ; }
692693694695696697698699700701702
695696697698699700701702703704705
435436437438439440441442443444445
String lastUpdate = null ; public int rowCount() throws SQLException { int prevPos = resultSet.getRow(); resultSet.last(); int count = resultSet.getRow(); resultSet.absolute(prevPos); return count ; }
517518519520521522523524525526527
XResultSetUpdate updt = (XResultSetUpdate) UnoRuntime.queryInterface (XResultSetUpdate.class, set) ; int count = 0 ; set.last() ; int rowNum = set.getRow() ; set.first() ; for (int i = 0; i < rowNum; i++) { updt.deleteRow() ;
8889909192939495969798
} else { try { XResultSet resSetS = resSet.getStaticResultSet() ; XResultSet resSetStubS = resSetStub.getStaticResultSet() ; resSetStubS.last() ; int stubRowNum = resSetStubS.getRow() ; resSetS.last() ; int setRowNum = resSetS.getRow() ;
134135136137138139140141142143144
} catch (com.sun.star.ucb.ListenerAlreadySetException e) { e.printStackTrace(log); } try { set.last() ; rowCount = set.getRow(); log.println("Number of rows in result set: " + rowCount); } catch (com.sun.star.sdbc.SQLException e) { log.println("Exception occured while accessing "+ "sorted result set :");
90919293949596979899100
161162163164165166167168169170171
XResultSet statResSet = resSet.getStaticResultSet() ; statRmtSet.last() ; int rmtRowNum = statRmtSet.getRow() ; statResSet.last() ; int resRowNum = statResSet.getRow() ; result = rmtRowNum == resRowNum && resRowNum > 0 ; log.println("Number of rows : destination=" + rmtRowNum +