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

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

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

origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/** */
private void validateNavigation(Node qualifier, ParseTreeContext context) {
  if (qualifier.isDotNode()) {
    TypeHelper typeHelper = context.getTypeHelper();
    Node left = qualifier.getLeft();
    AttributeNode attributeNode = (AttributeNode)qualifier.getRight();
    String attribute = attributeNode.getAttributeName();
    Object type = left.getType();
    if (!typeHelper.isEmbeddedAttribute(type, attribute)) {
      throw JPQLException.invalidSetClauseNavigation(
        context.getQueryInfo(), attributeNode.getLine(), 
        attributeNode.getColumn(), qualifier.getAsString(), attribute);
    }
    validateNavigation(left, context);
  }
}
 
origin: org.eclipse.persistence/org.eclipse.persistence.core

/** */
private void validateNavigation(Node qualifier, ParseTreeContext context) {
  if (qualifier.isDotNode()) {
    TypeHelper typeHelper = context.getTypeHelper();
    Node left = qualifier.getLeft();
    AttributeNode attributeNode = (AttributeNode)qualifier.getRight();
    String attribute = attributeNode.getAttributeName();
    Object type = left.getType();
    if (!typeHelper.isEmbeddedAttribute(type, attribute)) {
      throw JPQLException.invalidSetClauseNavigation(
        context.getQueryInfo(), attributeNode.getLine(),
        attributeNode.getColumn(), qualifier.getAsString(), attribute);
    }
    validateNavigation(left, context);
  }
}
origin: com.haulmont.thirdparty/eclipselink

/** */
private void validateNavigation(Node qualifier, ParseTreeContext context) {
  if (qualifier.isDotNode()) {
    TypeHelper typeHelper = context.getTypeHelper();
    Node left = qualifier.getLeft();
    AttributeNode attributeNode = (AttributeNode)qualifier.getRight();
    String attribute = attributeNode.getAttributeName();
    Object type = left.getType();
    if (!typeHelper.isEmbeddedAttribute(type, attribute)) {
      throw JPQLException.invalidSetClauseNavigation(
        context.getQueryInfo(), attributeNode.getLine(), 
        attributeNode.getColumn(), qualifier.getAsString(), attribute);
    }
    validateNavigation(left, context);
  }
}
 
org.eclipse.persistence.exceptionsJPQLExceptioninvalidSetClauseNavigation

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,
  • invalidSetClauseTarget

Popular in Java

  • Reactive rest calls using spring rest template
  • requestLocationUpdates (LocationManager)
  • getResourceAsStream (ClassLoader)
  • setContentView (Activity)
  • Pointer (com.sun.jna)
    An abstraction for a native pointer data type. A Pointer instance represents, on the Java side, a na
  • URLEncoder (java.net)
    This class is used to encode a string using the format required by application/x-www-form-urlencoded
  • Timestamp (java.sql)
    A Java representation of the SQL TIMESTAMP type. It provides the capability of representing the SQL
  • TreeSet (java.util)
    TreeSet is an implementation of SortedSet. All optional operations (adding and removing) are support
  • CountDownLatch (java.util.concurrent)
    A synchronization aid that allows one or more threads to wait until a set of operations being perfor
  • JPanel (javax.swing)
  • 21 Best Atom Packages for 2021
Tabnine Logo
  • Products

    Search for Java codeSearch for JavaScript code
  • IDE Plugins

    IntelliJ IDEAWebStormVisual StudioAndroid StudioEclipseVisual Studio CodePyCharmSublime TextPhpStormVimAtomGoLandRubyMineEmacsJupyter NotebookJupyter LabRiderDataGripAppCode
  • Company

    About UsContact UsCareers
  • Resources

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