This custom UserType contains a workaround for the Oracle Clob memory problem. To recap, the issue is that when dealing
with Clobs, the oracle drivers will return strings with 64k char[] regardless of the amount of data they hold.
So, to fix this we need to release that char[] as quickly as possible, via new String().