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