Hi,
Is it possible to use custom UserTypes in an OSGI environment? Whenever I try to use one with Type or TypeDef annotations I get the following error:
Caused by: org.hibernate.MappingException: Could not determine type for: iva.entity.ReferenceTypeMapType, at table: EntityReferences, for columns: [org.hibernate.mapping.Column(referenceType)] at org.hibernate.mapping.SimpleValue.getType(SimpleValue.java:411) at org.hibernate.mapping.SimpleValue.isValid(SimpleValue.java:384) at org.hibernate.mapping.Property.isValid(Property.java:226) at org.hibernate.mapping.PersistentClass.validate(PersistentClass.java:529) at org.hibernate.mapping.RootClass.validate(RootClass.java:265) at org.hibernate.boot.internal.MetadataImpl.validate(MetadataImpl.java:329) at org.hibernate.boot.internal.SessionFactoryBuilderImpl.build(SessionFactoryBuilderImpl.java:464) at org.hibernate.jpa.boot.internal.EntityManagerFactoryBuilderImpl.build(EntityManagerFactoryBuilderImpl.java:881) ... 43 more
Thank you...
|