167168169170171172173174175176177
rs.next(); result = rs.getLong(1); } finally { stmtMan.closeResources(stmt, rs); } return result; } protected void createSequence(ClassDescriptor cld, String sequenceName) throws Exception
208209210211212213214215216217218
} finally { try { stmtMan.closeResources(stmt, null); } catch (Exception e) { e.printStackTrace(); }
357358359360361362363364365366367
} finally { try { sm.closeResources(stmt, rs); } catch (Exception ignore) { // ignore it }
741742743744745746747748749750751
throw ExceptionHelper.generateException("[BrokerHelper#doesExist] Can't check if specified" + " object is already persisted", e, sql, cld, pkValues, null, obj); } finally { sm.closeResources(stmt, rs); } return result; }
667668669670671672673674675676677
throw new PersistenceBrokerSQLException("Exist check failed for identity " + oid + ", sql was " + sql, e); } finally { sm.closeResources(stmt, rs); } return result; }
165166167168169170171172173174175
206207208209210211212213214215216
} finally { try { stmtMan.closeResources(stmt, null); } catch (Exception ignore) { // ignore it }
686687688689690691692693694695696
681682683684685686687688689690691
692693694695696697698699700701702