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

  • Running tasks concurrently on multiple threads
  • runOnUiThread (Activity)
  • setRequestProperty (URLConnection)
  • scheduleAtFixedRate (ScheduledExecutorService)
  • OutputStream (java.io)
    A writable sink for bytes.Most clients will use output streams that write data to the file system (
  • Comparator (java.util)
    A Comparator is used to compare two objects to determine their ordering with respect to each other.
  • Hashtable (java.util)
    A plug-in replacement for JDK1.5 java.util.Hashtable. This version is based on org.cliffc.high_scale
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • AtomicInteger (java.util.concurrent.atomic)
    An int value that may be updated atomically. See the java.util.concurrent.atomic package specificati
  • Notification (javax.management)
  • Top PhpStorm 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