Hibernate UserType implementation for Strings that get mapped to CLOBs.
Retrieves the LobHandler to use from LocalSessionFactoryBean at config time.
Particularly useful for storing Strings with more than 4000 characters in an
Oracle database (only possible via CLOBs), in combination with OracleLobHandler.
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 CLOB: For databases like MySQL and MS SQL Server, any
large enough character type will work.
Particularly useful for storing Strings with more than 4000 characters in an Oracle database (only possible via CLOBs), in combination with OracleLobHandler.
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 CLOB: For databases like MySQL and MS SQL Server, any large enough character type will work.