Hi, I recently upgraded from HIbernate 4 to 5.0.1 Final.
I am using JPA and postgres 9.3.
I have a table with a @Lob String field, mapped to a 'text' column.
Previously, this was annotated with @Type(type="org.hibernate.type.StringClobType")
That type has been removed in Hibernate5. Running with that, I get: java.lang.ClassNotFoundException: Could not load requested class : org.hibernate.type.StringClobType
Took me a while, but figured out that the new type is: @Type(type="org.hibernate.type.StringType")
Posting in case anyone else runs into this issue.
|