getValue(ResultSet, int) is used for extraction and setValue(PreparedStatement, int, T) is used for population
110111112113114115116117118119120121
* * @param o * @return */ public String asLiteral(Object o) { Type type = javaTypeMapping.getType(o.getClass()); if (type != null) { return templates.serialize(type.getLiteral(o), type.getSQLTypes()[0]); } else { throw new IllegalArgumentException("Unsupported literal type " + o.getClass().getName()); } }