Search in sources :

Example 1 with AbstractRestrictableStatement

use of org.hibernate.hql.internal.ast.tree.AbstractRestrictableStatement in project hibernate-reactive by hibernate.

the class ReactiveBulkIdStrategy method targetedPersister.

private Queryable targetedPersister(HqlSqlWalker walker) {
    AbstractRestrictableStatement restrictableStatement = (AbstractRestrictableStatement) walker.getAST();
    FromElement fromElement = restrictableStatement.getFromClause().getFromElement();
    return fromElement.getQueryable();
}
Also used : AbstractRestrictableStatement(org.hibernate.hql.internal.ast.tree.AbstractRestrictableStatement) FromElement(org.hibernate.hql.internal.ast.tree.FromElement)

Aggregations

AbstractRestrictableStatement (org.hibernate.hql.internal.ast.tree.AbstractRestrictableStatement)1 FromElement (org.hibernate.hql.internal.ast.tree.FromElement)1