Package org.eclipse.persistence.jpa.jpql.DefaultSemanticValidator

Examples of org.eclipse.persistence.jpa.jpql.DefaultSemanticValidator.VirtualIdentificationVariableFinder


   * @return The {@link IdentificationVariable} defining either the identification variable or the
   * virtual identification variable for the <code><b>DELETE</b></code> or for the
   * <code><b>UPDATE</b></code> query
   */
  protected IdentificationVariable findVirtualIdentificationVariable(AbstractSchemaName expression) {
    VirtualIdentificationVariableFinder visitor = getVirtualIdentificationVariableFinder();
    try {
      expression.accept(visitor);
      return visitor.expression;
    }
    finally {
View Full Code Here


   *
   * @return The visitor that can traverse the query and returns the {@link IdentificationVariable}
   */
  protected VirtualIdentificationVariableFinder getVirtualIdentificationVariableFinder() {
    if (virtualIdentificationVariableFinder == null) {
      virtualIdentificationVariableFinder = new VirtualIdentificationVariableFinder();
    }
    return virtualIdentificationVariableFinder;
  }
View Full Code Here

  protected Resolver resolveDerivePathResolver() {

    if (derivedPathResolver == null) {

      // Retrieve the identification variable of the top-level query's base declaration
      VirtualIdentificationVariableFinder finder = new VirtualIdentificationVariableFinder();
      abstractSchemaName.accept(finder);

      if (finder.expression != null) {

        // Retrieve the Resolver for the identification variable
View Full Code Here

   * @return The {@link IdentificationVariable} defining either the identification variable or the
   * virtual identification variable for the <code><b>DELETE</b></code> or for the
   * <code><b>UPDATE</b></code> query
   */
  protected IdentificationVariable findVirtualIdentificationVariable(AbstractSchemaName expression) {
    VirtualIdentificationVariableFinder visitor = getVirtualIdentificationVariableFinder();
    try {
      expression.accept(visitor);
      return visitor.expression;
    }
    finally {
View Full Code Here

   *
   * @return The visitor that can traverse the query and returns the {@link IdentificationVariable}
   */
  protected VirtualIdentificationVariableFinder getVirtualIdentificationVariableFinder() {
    if (virtualIdentificationVariableFinder == null) {
      virtualIdentificationVariableFinder = new VirtualIdentificationVariableFinder();
    }
    return virtualIdentificationVariableFinder;
  }
View Full Code Here

TOP

Related Classes of org.eclipse.persistence.jpa.jpql.DefaultSemanticValidator.VirtualIdentificationVariableFinder

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.