1.1 --- a/java/sql-dk/src/info/globalcode/sql/dk/SQLCommand.java Sun Dec 22 23:31:55 2013 +0100
1.2 +++ b/java/sql-dk/src/info/globalcode/sql/dk/SQLCommand.java Sun Dec 22 23:55:07 2013 +0100
1.3 @@ -36,7 +36,9 @@
1.4 this.query = query;
1.5 }
1.6
1.7 - public abstract PreparedStatement prepareStatement(Connection c) throws SQLException;
1.8 + public PreparedStatement prepareStatement(Connection c) throws SQLException {
1.9 + return c.prepareStatement(query);
1.10 + }
1.11
1.12 public abstract void parametrize(PreparedStatement ps) throws SQLException;
1.13