Please excuse me if this has already been addressed, but I've been unable to find it in any other thread.
I'm upgrading to the latest Hibernate release (3.5.3) and I noticed a number of methods have become deprecated, but their corresponding API's are pretty lacking (or, I just can't read them). One in particular, the Hibernate.custom(class) is marked as deprecated, and the 3.5.3 API's have the following description:
Code:
custom
public static Type custom(Class userTypeClass)
throws HibernateException
Deprecated. see http://opensource.atlassian.com/projects/hibernate/browse/HHH-5182
A Hibernate custom type.
Parameters:
userTypeClass - a class that implements UserType
Throws:
HibernateException
However, when I look at the HHH-5182 case, it doesn't really shed any light on what to use in it's stead. Does anybody know what replaces the deprecated method above?
Any help would be greatly appreciated!!
Paul