This is intended for the (arguably unnatural, but still common) case
where character data is stored in a binary LOB. This requires encoding
and decoding the characters within this UserType; see the javadoc of the
Can also be defined in generic Hibernate mappings, as DefaultLobCreator will
work with most JDBC-compliant database drivers. In this case, the field type
does not have to be BLOB: For databases like MySQL and MS SQL Server, any
large enough binary type will work.