After migrating from hiberante 5.1.2 to hibernate 6.2.6 as i understand it, i must used CompositeUserType (instead of userType) to map 2 columns to one object. It’s all working great BUT if this object contains generic fields then i get NPE:
Sample code: Entity:
IntermediateEventUserTypeBoo:
BooEnum:
Boo:
BooTest:
In my opinion problem is that the class Boo contains generic field. When i change class Boo on:
Everything is good |