33343536373839
{ try { if ( sdb.hasSQLConnection() ) sdb.exec("SHUTDOWN COMPACT;"); } catch (SQLException ex) { throw new SDBExceptionSQL(ex) ; } }
44454647484950
{ try { if ( sdb.hasSQLConnection() ) sdb.exec("CHECKPOINT DEFRAG;"); } catch (SQLException ex) { throw new SDBExceptionSQL(ex) ; } }
182183184185186187188189190191192
{ hasNext = jdbcResultSet.get().next() ; } catch (SQLException ex) { closeIterator() ; throw new SDBExceptionSQL(ex) ; } ready = true ; } return hasNext ; }
7980818283848586
// ResultSet closed inside assembleResults or by the iterator returned. jdbcResultSet = null ; } } catch (SQLException ex) { throw new SDBExceptionSQL("SQLException in executing SQL statement", ex) ; } }
104105106107108109110111
// Otherwise deos not exist return false ; } catch (SQLException ex) { throw new SDBExceptionSQL(ex) ; } finally { RS.close(rs) ; } }
147148149150151152153
protected void exec(String sqlStmt) { try { connection().exec(sqlStmt) ; } catch (SQLException ex) { throw new SDBExceptionSQL(ex) ; } }
155156157158159160161162
private SqlConstant ensureNode(Node node) { try { return insertNode(node) ; } catch (SQLException ex){ throw new SDBExceptionSQL("PatternTableLoader.prepareNode", ex) ; } }
164165166167168169170171
private SqlConstant refNode(Node node) { try { return getRefForNode(node) ; } catch (SQLException ex){ throw new SDBExceptionSQL("PatternTableLoader.getRefForNode", ex) ; } }