{ // Oracle Timestamp query
rs = executeQuery("select sysdate from dual", null, false, conn);
return (rs.next() ? rs.getTimestamp(1) : null);
} catch (SQLException e) {
// throw exception
throw new EmpireSQLException(this, e);
} finally
{ // Cleanup
try
{ // ResultSet close
Statement stmt = (rs!=null) ? rs.getStatement() : null;
if (rs != null)
rs.close();
if (stmt != null)
stmt.close();
} catch (SQLException e) {
// throw exception
throw new EmpireSQLException(this, e);
}
}
}