Search in sources :

Example 1 with IntoClause

use of org.hibernate.hql.internal.ast.tree.IntoClause in project hibernate-orm by hibernate.

the class HqlSqlWalker method createIntoClause.

@Override
protected AST createIntoClause(String path, AST propertySpec) throws SemanticException {
    Queryable persister = (Queryable) getSessionFactoryHelper().requireClassPersister(path);
    IntoClause intoClause = (IntoClause) getASTFactory().create(INTO, persister.getEntityName());
    intoClause.setFirstChild(propertySpec);
    intoClause.initialize(persister);
    addQuerySpaces(persister.getQuerySpaces());
    return intoClause;
}
Also used : IntoClause(org.hibernate.hql.internal.ast.tree.IntoClause) Queryable(org.hibernate.persister.entity.Queryable)

Aggregations

IntoClause (org.hibernate.hql.internal.ast.tree.IntoClause)1 Queryable (org.hibernate.persister.entity.Queryable)1