On 08 Mar 2005 13:29, adamc wrote:
>in the nullSafeGet() method you use
>if (!resultSet.wasNull()) {
> result = Enum.valueOf(clazz, name);
>}
>Which works in terms of the <em>name</em> of the enum instance;
however,
>in the nullSafeSet() method you use
>preparedStatement.setString(index, value.toString());
You're right. I modified the source. Thanks. |