Examples of IdentNode


Examples of org.hibernate.hql.internal.ast.tree.IdentNode

  private AST generateSyntheticDotNodeForNonQualifiedPropertyRef(AST property, FromElement fromElement) {
    AST dot = getASTFactory().create( DOT, "{non-qualified-property-ref}" );
    // TODO : better way?!?
    ( ( DotNode ) dot ).setPropertyPath( ( ( FromReferenceNode ) property ).getPath() );

    IdentNode syntheticAlias = ( IdentNode ) getASTFactory().create( IDENT, "{synthetic-alias}" );
    syntheticAlias.setFromElement( fromElement );
    syntheticAlias.setResolved();

    dot.setFirstChild( syntheticAlias );
    dot.addChild( property );

    return dot;
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.