Fixing a problem with SQL/Java typecast
(http://stackoverflow.com/questions/4873201/hibernate-native-query-char3-column).