| There is two spring boot project. Their names are "core" and "resurgence". Resurgence project include core (with maven). Core project successfully running on jdk11. But Resurgence not. There was an entity which name is "Group" from "core" project. It include "authorities" field and annotatied by "@Column( unique = true, nullable = false )". When the code reach here org.hibernate.tuple.entity.EntityMetamodel:295
String tuplizerClassName = persistentClass.getTuplizerImplClassName(this.entityMode);
if (tuplizerClassName == null) {
this.entityTuplizer = entityTuplizerFactory.constructDefaultTuplizer(this.entityMode, this, persistentClass);
} else {
this.entityTuplizer = entityTuplizerFactory.constructTuplizer(tuplizerClassName, this, persistentClass);
}
"tuplizerClassName" is null and going here org.hibernate.tuple.entity.EntityTuplizerFactory:41
public EntityTuplizer constructTuplizer(Class<? extends EntityTuplizer> tuplizerClass, EntityMetamodel metamodel, PersistentClass persistentClass) {
Constructor<? extends EntityTuplizer> constructor = this.getProperConstructor(tuplizerClass, ENTITY_TUP_CTOR_SIG);
assert constructor != null : "Unable to locate proper constructor for tuplizer [" + tuplizerClass.getName() + "]";
try {
return (EntityTuplizer)*constructor.newInstance(metamodel, persistentClass)*;
} catch (Throwable var6) {
throw new HibernateException("Unable to instantiate default tuplizer [" + tuplizerClass.getName() + "]", var6);
}
}
newInstance(metamodel, persistentClass)
if "authorities" field without any annotation there is no error. |