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