19 package org.turro.contacts.log;
21 import java.util.Date;
22 import org.turro.contacts.db.ContactsPU;
23 import org.turro.elephant.db.WhereClause;
24 import org.turro.jpa.Dao;
34 wc.
addClause(
"select count(log) from LogEntry log");
40 wc.
addClause(
"select count(log) from LogEntry log");
46 public long getCountOf(String comment, String logPath, Date since) {
48 wc.
addClause(
"select count(log) from LogEntry log");
62 private Dao getDao() {
void addClause(String clause)
void addNamedValue(String name, Object value)
Object getSingleResultOrNull(SqlClause sc)