You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/UnifiedAnyDiscriminatorConverter.java
if ( explicitValueMappings.containsKey( NOT_NULL_DISCRIMINATOR ) ) {
68
+
if ( implicitValueStrategy != null ) {
69
+
// we will ultimately not know how to handle "implicit" values which are non-null
70
+
thrownewHibernateException( "Illegal use of ImplicitDiscriminatorStrategy with explicit non-null discriminator mapping: " + discriminatorRole.getFullPath() );
71
+
}
72
+
}
73
+
}
63
74
returnimplicitValueStrategy;
64
75
}
65
76
@@ -80,6 +91,10 @@ public Map<String, DiscriminatorValueDetails> getDetailsByEntityName() {
0 commit comments