branch | v_0 |
changeset 68 | 574cd7fbb5b2 |
parent 37 | 9e6f8e5d5f98 |
child 143 | 1336bb9a4499 |
--- a/java/sql-dk/src/info/globalcode/sql/dk/SQLCommandNumbered.java Thu Dec 26 01:53:15 2013 +0100 +++ b/java/sql-dk/src/info/globalcode/sql/dk/SQLCommandNumbered.java Thu Dec 26 11:58:14 2013 +0100 @@ -39,7 +39,7 @@ public void parametrize(PreparedStatement ps) throws SQLException { int i = 1; for (Parameter p : notNull(parameters)) { - ps.setObject(i++, p.getValue(), p.getType()); + ps.setObject(i++, p.getValue(), p.getType().getCode()); } }