Tabnine Logo
JPQLException.unsupportJoinArgument
Code IndexAdd Tabnine to your IDE (free)

How to use
unsupportJoinArgument
method
in
org.eclipse.persistence.exceptions.JPQLException

Best Java code snippets using org.eclipse.persistence.exceptions.JPQLException.unsupportJoinArgument (Showing top 6 results out of 315)

origin: org.eclipse.persistence/org.eclipse.persistence.core

  /**
   * INTERNAL
   * Validate node and calculate its type.
   */
  public void validate(ParseTreeContext context) {
    if (path != null) {
      path.validate(context);
      setType(path.getType());

      // join of embedded attribute is not supported.
      if (path.isDotNode()) {
        TypeHelper typeHelper = context.getTypeHelper();
        VariableNode left = (VariableNode)path.getLeft();
        AttributeNode right = (AttributeNode)path.getRight();
        if ((left != null) && (right != null)) {
          if (typeHelper.isEmbeddedAttribute(left.getType(), right.getAttributeName()))
            throw JPQLException.unsupportJoinArgument(
              context.getQueryInfo(), getLine(), getColumn(),
              "Fetch Join", getType().toString());
        }
      }
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * INTERNAL
   * Validate node and calculate its type.
   */
  public void validate(ParseTreeContext context) {
    if (path != null) {
      path.validate(context);
      setType(path.getType());

      // join of embedded attribute is not supported.
      if (path.isDotNode()) {
        TypeHelper typeHelper = context.getTypeHelper();
        VariableNode left = (VariableNode)path.getLeft();
        AttributeNode right = (AttributeNode)path.getRight();
        if ((left != null) && (right != null)) {
          if (typeHelper.isEmbeddedAttribute(left.getType(), right.getAttributeName()))
            throw JPQLException.unsupportJoinArgument(
              context.getQueryInfo(), getLine(), getColumn(), 
              "Fetch Join", getType().toString());
        }
      }
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * INTERNAL
   * Validate node and calculate its type.
   */
  public void validate(ParseTreeContext context) {
    if (path != null) {
      path.validate(context);
      setType(path.getType());

      // join of embedded attribute is not supported.
      if (path.isDotNode()) {
        TypeHelper typeHelper = context.getTypeHelper();
        VariableNode left = (VariableNode)path.getLeft();
        AttributeNode right = (AttributeNode)path.getRight();
        if ((left != null) && (right != null)) {
          if (typeHelper.isEmbeddedAttribute(left.getType(), right.getAttributeName()))
            throw JPQLException.unsupportJoinArgument(
              context.getQueryInfo(), getLine(), getColumn(), 
              "Fetch Join", getType().toString());
        }
      }
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

  /**
   * INTERNAL
   * Validate node and calculate its type.
   */
  public void validate(ParseTreeContext context) {
    super.validate(context);
    if (path != null) {
      path.validate(context);
      setType(path.getType());

      // join of embedded attribute is not supported.
      if (path.isDotNode()) {
        TypeHelper typeHelper = context.getTypeHelper();
        Node left = path.getLeft();
        AttributeNode right = (AttributeNode)path.getRight(); 
        if ((left != null) && (right != null)) {
          if (typeHelper.isEmbeddedAttribute(left.getType(), right.getAttributeName()))
            throw JPQLException.unsupportJoinArgument(
              context.getQueryInfo(), getLine(), getColumn(), 
              "Join", getType().toString());
        } 
      }
    }
  }
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

  /**
   * INTERNAL
   * Validate node and calculate its type.
   */
  public void validate(ParseTreeContext context) {
    super.validate(context);
    if (path != null) {
      path.validate(context);
      setType(path.getType());

      // join of embedded attribute is not supported.
      if (path.isDotNode()) {
        TypeHelper typeHelper = context.getTypeHelper();
        Node left = path.getLeft();
        AttributeNode right = (AttributeNode)path.getRight();
        if ((left != null) && (right != null)) {
          if (typeHelper.isEmbeddedAttribute(left.getType(), right.getAttributeName()))
            throw JPQLException.unsupportJoinArgument(
              context.getQueryInfo(), getLine(), getColumn(),
              "Join", getType().toString());
        }
      }
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

  /**
   * INTERNAL
   * Validate node and calculate its type.
   */
  public void validate(ParseTreeContext context) {
    super.validate(context);
    if (path != null) {
      path.validate(context);
      setType(path.getType());

      // join of embedded attribute is not supported.
      if (path.isDotNode()) {
        TypeHelper typeHelper = context.getTypeHelper();
        Node left = path.getLeft();
        AttributeNode right = (AttributeNode)path.getRight(); 
        if ((left != null) && (right != null)) {
          if (typeHelper.isEmbeddedAttribute(left.getType(), right.getAttributeName()))
            throw JPQLException.unsupportJoinArgument(
              context.getQueryInfo(), getLine(), getColumn(), 
              "Join", getType().toString());
        } 
      }
    }
  }
}
org.eclipse.persistence.exceptionsJPQLExceptionunsupportJoinArgument

Popular methods of JPQLException

  • <init>
    INTERNAL Only TopLink can throw and create these excpetions
  • aliasResolutionException
  • constructorClassNotFound
  • entityTypeNotFound
    JPQLException Entity Type Not Found Indicates that a type specified in a JPQL query string cannot b
  • entityTypeNotFound2
  • expectedOrderableOrderByItem
  • generalParsingException
    INTERNAL Create an exception to wrap a general parsing exception
  • getInternalExceptions
    INTERNAL Return the collection of internal Exceptions. Intialize if there are no exceptions
  • hasInternalExceptions
    INTERNAL Does this exception have any internal errors?
  • indexOnlyAllowedOnVariable
  • invalidCollectionMemberDecl
  • invalidCollectionNavigation
  • invalidCollectionMemberDecl,
  • invalidCollectionNavigation,
  • invalidEnumEqualExpression,
  • invalidEnumLiteral,
  • invalidExpressionArgument,
  • invalidFunctionArgument,
  • invalidMultipleUseOfSameParameter,
  • invalidNavigation,
  • invalidSetClauseNavigation,
  • invalidSetClauseTarget

Popular in Java

  • Running tasks concurrently on multiple threads
  • compareTo (BigDecimal)
  • getExternalFilesDir (Context)
  • requestLocationUpdates (LocationManager)
  • URL (java.net)
    A Uniform Resource Locator that identifies the location of an Internet resource as specified by RFC
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • StringTokenizer (java.util)
    Breaks a string into tokens; new code should probably use String#split.> // Legacy code: StringTo
  • ZipFile (java.util.zip)
    This class provides random read access to a zip file. You pay more to read the zip file's central di
  • SSLHandshakeException (javax.net.ssl)
    The exception that is thrown when a handshake could not be completed successfully.
  • DateTimeFormat (org.joda.time.format)
    Factory that creates instances of DateTimeFormatter from patterns and styles. Datetime formatting i
  • Top Vim plugins
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

    FAQBlogTabnine AcademyTerms of usePrivacy policyJava Code IndexJavascript Code Index
Get Tabnine for your IDE now