/** * INTERNAL: * Return the accessor associated with the cursor. */ public DatabaseAccessor getAccessor() { // Assume we have a JDBC accessor try { return (DatabaseAccessor)this.query.getAccessor(); } catch (ClassCastException e) { throw QueryException.invalidDatabaseAccessor(this.query.getAccessor()); } }
/** * INTERNAL: * Return the accessor associated with the cursor. */ public DatabaseAccessor getAccessor() { // Assume we have a JDBC accessor try { return (DatabaseAccessor)this.query.getAccessor(); } catch (ClassCastException e) { throw QueryException.invalidDatabaseAccessor(this.query.getAccessor()); } }
/** * INTERNAL: * Return the accessor associated with the cursor. */ protected DatabaseAccessor getAccessor() { // Assume we have a JDBC accessor try { return (DatabaseAccessor)getQuery().getAccessor(); } catch (ClassCastException e) { throw QueryException.invalidDatabaseAccessor(getQuery().getAccessor()); } }
this.session.releaseReadConnection(this.query.getAccessor()); } catch (RuntimeException releaseException) { if (exception == null) {
this.session.releaseReadConnection(this.query.getAccessor()); } catch (RuntimeException releaseException) { if (exception == null) {
getSession().releaseReadConnection(getQuery().getAccessor()); } catch (RuntimeException releaseException) { if (exception == null) {