result = rs.next();
}
catch(SQLException e)
{
LoggerFactory.getDefaultLogger().error("[BrokerHelper#doesExist] Can't check for existance", e);
throw new PersistenceBrokerSQLException("Exist check failed for identity " + oid
+ ", sql was " + sql, e);
}
finally
{
sm.closeResources(stmt, rs);