Index: src/java/org/apache/commons/dbutils/BeanProcessor.java =================================================================== --- src/java/org/apache/commons/dbutils/BeanProcessor.java (revision 469544) +++ src/java/org/apache/commons/dbutils/BeanProcessor.java (working copy) @@ -225,6 +225,9 @@ // Don't call setter if the value object isn't the right type if (this.isCompatibleType(value, params[0])) { setter.invoke(target, new Object[] { value }); + } else { + throw new SQLException( + "Cannot set " + prop.getName() + ": incompatible types."); } } catch (IllegalArgumentException e) {