Skip to content

Commit

Permalink
log level change
Browse files Browse the repository at this point in the history
  • Loading branch information
andyjefferson committed Apr 1, 2017
1 parent a0ed627 commit ef3a0ec
Showing 1 changed file with 4 additions and 1 deletion.
Expand Up @@ -1026,7 +1026,10 @@ else if (pcSuperclassMetaData.getInheritanceMetaData() != null &&
mmgr.getNucleusContext().getConfiguration().getBooleanProperty(PropertyNames.PROPERTY_METADATA_USE_DISCRIMINATOR_FOR_SINGLE_TABLE))
{
// JPA : When using SINGLE_TABLE at the root, then we must have a Discriminator (JPA spec says default length 31)
NucleusLogger.METADATA.info("Class " + getFullClassName() + " defined to use SINGLE_TABLE for the inheritance tree but no discriminator defined, so adding one");
if (NucleusLogger.METADATA.isDebugEnabled())
{
NucleusLogger.METADATA.debug("Class " + getFullClassName() + " defined to use SINGLE_TABLE for the inheritance tree but no discriminator defined, so adding one");
}
if (mmgr.getNucleusContext().getConfiguration().getBooleanProperty(PropertyNames.PROPERTY_METADATA_USE_DISCRIMINATOR_DEFAULT_CLASS_NAME))
{
inheritanceMetaData.newDiscriminatorMetadata().setStrategy(DiscriminatorStrategy.CLASS_NAME).setIndexed("true").newColumnMetaData().setLength(31);
Expand Down

0 comments on commit ef3a0ec

Please sign in to comment.