Package org.eclipse.persistence.jpa.jpql.tools.model.query

Examples of org.eclipse.persistence.jpa.jpql.tools.model.query.JPQLQueryStateObject


    // We keep track of the old stuff because during the creation of a JPQLQueryStateObject,
    // it is possible the state model uses this builder to create some objects
    BasicStateObjectBuilder builder  = getStateObjectBuilder();
    IJPQLQueryBuilder oldBuilder     = builder.jpqlQueryBuilder;
    IManagedTypeProvider oldProvider = builder.managedTypeProvider;
    JPQLQueryStateObject oldParent   = builder.parent;
    StateObject oldStateObject       = builder.stateObject;

    try {
      builder.jpqlQueryBuilder    = this;
      builder.managedTypeProvider = parent.getManagedTypeProvider();
View Full Code Here


   * {@inheritDoc}
   */
  @Override
  public void visit(JPQLExpression expression) {

    parent = new JPQLQueryStateObject(jpqlQueryBuilder, managedTypeProvider);
    parent.setExpression(expression);

    expression.getQueryStatement().accept(this);
    parent.setQueryStatement(stateObject);
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.tools.model.query.JPQLQueryStateObject

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.