public void setLimit(long limit) throws SqlJetException { cursor.setLimit(limit); }
@Override protected ISqlJetCursor openCursor() throws SVNException { ISqlJetCursor cursor = super.openCursor(); if (cursor != null) { try { cursor.setLimit(1); } catch (SqlJetException e) { cursor = null; } } return cursor; }
@Override protected ISqlJetCursor openCursor() throws SVNException { ISqlJetCursor cursor = super.openCursor(); if (cursor != null) { try { cursor.setLimit(1); } catch (SqlJetException e) { cursor = null; } } return cursor; }
@Override protected ISqlJetCursor openCursor() throws SVNException { ISqlJetCursor cursor = super.openCursor(); if (cursor != null) { try { cursor.setLimit(1); } catch (SqlJetException e) { cursor = null; } } return cursor; } }
@Override protected ISqlJetCursor openCursor() throws SVNException { try { ISqlJetCursor cursor = super.openCursor(); cursor.setLimit(1); return cursor; } catch (SqlJetException e) { SVNSqlJetDb.createSqlJetError(e); } return null; }
@Override protected ISqlJetCursor openCursor() throws SVNException { try { ISqlJetCursor cursor = super.openCursor().reverse(); cursor.setLimit(1); return cursor; } catch (SqlJetException e) { SVNSqlJetDb.createSqlJetError(e); } return null; } }
@Override protected ISqlJetCursor openCursor() throws SVNException { try { ISqlJetCursor cursor = super.openCursor().reverse(); cursor.setLimit(1); return cursor; } catch (SqlJetException e) { SVNErrorMessage errorMessage = SVNErrorMessage.create(SVNErrorCode.WC_DB_ERROR, e); SVNErrorManager.error(errorMessage, SVNLogType.WC); } return null; }
@Override protected ISqlJetCursor openCursor() throws SVNException { try { ISqlJetCursor cursor = super.openCursor().reverse(); cursor.setLimit(1); return cursor; } catch (SqlJetException e) { SVNErrorMessage errorMessage = SVNErrorMessage.create(SVNErrorCode.WC_DB_ERROR, e); SVNErrorManager.error(errorMessage, SVNLogType.WC); } return null; }