this.getLogger().trace("EXIT!"); //NOI18N
}
+ @Override
+ public Long getTotalRows () throws IOException, SQLException {
+ // Trace message
+ this.getLogger().trace("CALLED!");
+
+ // Execute query
+ ResultSet set = this.totalRows.executeQuery();
+
+ // Rewind to beginning
+ set.beforeFirst();
+
+ // Get long
+ Long count = set.getLong("cnt");
+
+ // Trace message
+ this.getLogger().trace("count=" + count + " - EXIT!");
+
+ // Return it
+ return count;
+ }
+
/**
* Some "getter" for a prepared statement with inserted values
*
// Return it
return statement;
}
-
- @Override
- public Long getTotalRows () throws IOException, SQLException {
- // Trace message
- this.getLogger().trace("CALLED!");
-
- // Execute query
- ResultSet set = this.totalRows.executeQuery();
-
- // Rewind to beginning
- set.beforeFirst();
-
- // Get long
- Long count = set.getLong("cnt");
-
- // Trace message
- this.getLogger().trace("count=" + count + " - EXIT!");
-
- // Return it
- return count;
- }
}