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