Package org.hibernate.hql.ast.tree

Examples of org.hibernate.hql.ast.tree.ParameterNode


    String name = nameNode.getText();
    trackNamedParameterPositions( name );

    // create the node initially with the param name so that it shows
    // appropriately in the "original text" attribute
    ParameterNode parameter = ( ParameterNode ) astFactory.create( NAMED_PARAM, name );
    parameter.setText( "?" );

    NamedParameterSpecification paramSpec = new NamedParameterSpecification(
        delimiterNode.getLine(),
            delimiterNode.getColumn(),
        name
    );
    parameter.setHqlParameterSpecification( paramSpec );
    parameters.add( paramSpec );
    return parameter;
  }
View Full Code Here

TOP

Related Classes of org.hibernate.hql.ast.tree.ParameterNode

Copyright © 2018 www.massapicom. 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.