HHH-18102 Little bit of cosmetics to allow merging with PR 8095; it is not affecting any logic
This commit is contained in:
parent
df7f104689
commit
fd3cb949a7
|
@ -205,11 +205,10 @@ public class BasicDotIdentifierConsumer implements DotIdentifierConsumer {
|
|||
final String prefix = path.substring( 0, splitPosition );
|
||||
final String terminal = path.substring( splitPosition + 1 );
|
||||
|
||||
//TODO: try interpreting paths of form foo.bar.Foo.Bar as foo.bar.Foo$Bar
|
||||
final EnumJavaType<?> enumType = jpaMetamodel.getEnumType(prefix);
|
||||
final EnumJavaType<?> enumType = jpaMetamodel.getEnumType( prefix );
|
||||
if ( enumType != null ) {
|
||||
return new SqmEnumLiteral(
|
||||
jpaMetamodel.enumValue(enumType, terminal),
|
||||
jpaMetamodel.enumValue( enumType, terminal ),
|
||||
enumType,
|
||||
terminal,
|
||||
nodeBuilder
|
||||
|
|
|
@ -842,7 +842,7 @@ public abstract class MockSessionFactory
|
|||
}
|
||||
|
||||
@Override
|
||||
public <E extends Enum<E>> E enumValue(EnumJavaType<E> enumType, String terminal) {
|
||||
public <E extends Enum<E>> E enumValue(EnumJavaType<E> enumType, String enumValueName) {
|
||||
return null;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue