// Found string
statement.setString(index, (String) value);
+ } else if (value instanceof Integer) {
+ // Debug message
+ this.getLogger().debug(MessageFormat.format("Setting integer value={0} for index={1}", value, index));
+
+ // Found ineteger
+ statement.setInt(index, (int) value);
+ } else if (value instanceof Float) {
+ // Debug message
+ this.getLogger().debug(MessageFormat.format("Setting float value={0} for index={1}", value, index));
+
+ // Found ineteger
+ statement.setFloat(index, (float) value);
} else {
// Not parseable type
throw new SQLException(MessageFormat.format("Cannot handle value={0} for index={1} in table {2}", value, index, this.getTableName()));