Hi all,
I've got a relatively simple mapping with the exception of one UserType. The UserType is for a Clob column, which stores XML. I've mapped the property like this:
Code:
@Type(type = "com.toyota.papis.access.hibernate.JAXBMessageType",
parameters = @Parameter(name = "type", value = ".....VehicleSpecificationMsg"))
@Basic(fetch = FetchType.LAZY)
private VehicleSpecificationMsg message;
However the property is always loaded (regardless of whether it is accessed or not). Does Hibernate support lazy loading of custom types or have I missed something else?
cheers
dim