Using the
Code:
public Object nullSafeGet(ResultSet resultSet, String[] names, Object owner)
method of a class that implements UserType, I'm having the ResultSet passed into the method append a " " (space character) to the end of the returned value. The value of the object in the database is "R" and the datatype in the database is CHAR(1) (using oracle 9.2i). My ResultSet however return "R " instead. This appears to be an oracle jdbc driver bug but I'm wondering if there's a chance this is a hibernate thing?