diff --git a/hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java b/hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java index 0ac8f066e1..d1160fb778 100644 --- a/hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java +++ b/hibernate-core/src/main/java/org/hibernate/sql/ast/tree/expression/ColumnReference.java @@ -15,7 +15,6 @@ import java.util.function.Consumer; import org.hibernate.internal.util.StringHelper; import org.hibernate.metamodel.mapping.SelectableMapping; import org.hibernate.metamodel.mapping.JdbcMapping; -import org.hibernate.metamodel.mapping.MappingModelExpressible; import org.hibernate.sql.Template; import org.hibernate.sql.ast.SqlAstWalker; import org.hibernate.sql.ast.spi.SqlAppender; @@ -197,8 +196,8 @@ public class ColumnReference implements Expression, Assignable { } @Override - public MappingModelExpressible getExpressionType() { - return (MappingModelExpressible) jdbcMapping; + public JdbcMapping getExpressionType() { + return jdbcMapping; } @Override