Hi guys,
I have a longtext field which contains some html text that in the worst case is greater than 1MB.
It's very odd, I thought that changing the Hibernate configuration from text to byte[] would have improved the performances (consider that I have to do some further string manipulation, html replace, etc.), but I was wrong.
So, I'm wondering what is the best way to configure such kind of fields?
Here is my current configuration:
Code:
<property name="htmlText" column="`htmlText`" type="text" not-null="false"/>
FWIW I'm using Hibernate with Spring Framework.