equal
deleted
inserted
replaced
66 |
66 |
67 @Override |
67 @Override |
68 public void parametrize(PreparedStatement ps) throws SQLException { |
68 public void parametrize(PreparedStatement ps) throws SQLException { |
69 int i = 1; |
69 int i = 1; |
70 for (Parameter p : notNull(parametersUsed)) { |
70 for (Parameter p : notNull(parametersUsed)) { |
71 ps.setObject(i++, p.getValue(), p.getType()); |
71 ps.setObject(i++, p.getValue(), p.getType().getCode()); |
72 } |
72 } |
73 } |
73 } |
74 |
74 |
75 /** |
75 /** |
76 * Builds a regexp pattern that matches all parameter names (with prefix/suffix) and which has |
76 * Builds a regexp pattern that matches all parameter names (with prefix/suffix) and which has |