summaryrefslogtreecommitdiffstats
path: root/src/com/iciql/Query.java
diff options
context:
space:
mode:
authorJames Moger <james.moger@gmail.com>2011-08-17 13:30:40 -0400
committerJames Moger <james.moger@gmail.com>2011-08-17 13:30:40 -0400
commit05429c2cdf393730f17fb8fa51ee4b9e58e0a88f (patch)
tree1c6e98a2913b4f0912318e49f72f930b985eb345 /src/com/iciql/Query.java
parent1734dc44d70391aeef26cacdf4d9f07c289e476e (diff)
downloadiciql-05429c2cdf393730f17fb8fa51ee4b9e58e0a88f.tar.gz
iciql-05429c2cdf393730f17fb8fa51ee4b9e58e0a88f.zip
Renamed logger. Improved test suite. Added Apache Commons and DBCP.v0.7.0
Diffstat (limited to 'src/com/iciql/Query.java')
-rw-r--r--src/com/iciql/Query.java8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/com/iciql/Query.java b/src/com/iciql/Query.java
index 8f34761..b2d397a 100644
--- a/src/com/iciql/Query.java
+++ b/src/com/iciql/Query.java
@@ -31,7 +31,7 @@ import java.util.List;
import com.iciql.Iciql.EnumType;
import com.iciql.bytecode.ClassReader;
import com.iciql.util.JdbcUtils;
-import com.iciql.util.StatementLogger;
+import com.iciql.util.IciqlLogger;
import com.iciql.util.Utils;
/**
@@ -141,7 +141,7 @@ public class Query<T> {
stat.appendSQL("DELETE FROM ");
from.appendSQL(stat);
appendWhere(stat);
- StatementLogger.delete(stat.getSQL());
+ IciqlLogger.delete(stat.getSQL());
return stat.executeUpdate();
}
@@ -239,7 +239,7 @@ public class Query<T> {
declaration.appendSQL(stat);
}
appendWhere(stat);
- StatementLogger.update(stat.getSQL());
+ IciqlLogger.update(stat.getSQL());
return stat.executeUpdate();
}
@@ -713,7 +713,7 @@ public class Query<T> {
}
}
db.getDialect().appendLimitOffset(stat, limit, offset);
- StatementLogger.select(stat.getSQL());
+ IciqlLogger.select(stat.getSQL());
}
/**