litesoft
Diff Revisions 49 vs 85 for /trunk/Java/core/Server/src/org/litesoft/sql/SQLPersistenceHelper.java
@@ -458,6 +458,7 @@ | |||
458 | 458 | protected long rawCount( String pTableName, String pWhereClause ) | |
459 | 459 | throws DBException | |
460 | 460 | { | |
461 | + | // todo: switch the '*' to the primary key! | |
461 | 462 | JDBCexecuteQuery query = new JDBCexecuteQuery( this, "SELECT COUNT(*) FROM " + pTableName + " " + pWhereClause, this ).executeQuery(); | |
462 | 463 | try | |
463 | 464 | { |