protected <T> T getPreparedStatementValue(Class<T> c)
throws DataTypeMismatchException {
try {
return ((T) value);
} catch (ClassCastException e) {
throw new DataTypeMismatchException("Can't make a "
+ c.getClass().getComponentType()
+ " from a QueryParserElement." + columnType);
}
}