485486487488489490491492493494
if (uniqueKeyword == null) { // vendor does not support unique selection so filter results return new UniqueStringEnumeration(rs); } return new StringEnumeration(rs); } catch (SQLException sqle) { throw new JDBCRepositoryException(sqle); } }
992993994995996997998999100010011002
logger.debug (sql); } ResultSet rs = stmt.executeQuery (sql); RepositoryEnumeration e = new StringEnumeration(rs); // From this point on the statement should not be closed as it is owned // by the RepositoryEnumeration. stmt = null;
12701271127212731274127512761277127812791280
if (logger.isDebugEnabled()) { logger.debug(sql); } rs = pstmt.executeQuery(); return new StringEnumeration(rs); } catch (SQLException sqle) { logger.error("sql-exception", sqle); close(pstmt); throw new JDBCRepositoryException(sqle);
13361337133813391340134113421343134413451346
21792180218121822183218421852186218721882189
if (logger.isDebugEnabled()){ logger.debug(sql); } final ResultSet rs = stmt.executeQuery(sql); return new StringEnumeration(rs); } catch (SQLException sqle) { logger.error("sql-exception", sqle); try { if (stmt != null) {