HHH-12565 - checkstyle
This commit is contained in:
parent
f62cecc62b
commit
e2ac4eb22f
|
@ -340,7 +340,8 @@ public abstract class AbstractEntityPersister
|
||||||
public String getDiscriminatorColumnReaderTemplate() {
|
public String getDiscriminatorColumnReaderTemplate() {
|
||||||
if ( getEntityMetamodel().getSubclassEntityNames().size() == 1 ) {
|
if ( getEntityMetamodel().getSubclassEntityNames().size() == 1 ) {
|
||||||
return getDiscriminatorSQLValue();
|
return getDiscriminatorSQLValue();
|
||||||
} else {
|
}
|
||||||
|
else {
|
||||||
return Template.TEMPLATE + "." + DISCRIMINATOR_ALIAS;
|
return Template.TEMPLATE + "." + DISCRIMINATOR_ALIAS;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue