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

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

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

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

/** */
private void validateTarget(Node node, ParseTreeContext context) {
  if (node.isDotNode()) {
    TypeHelper typeHelper = context.getTypeHelper();
    Node path = node.getLeft();
    Object type = path.getType();
    AttributeNode attributeNode = (AttributeNode)node.getRight();
    String attribute = attributeNode.getAttributeName();
    if (typeHelper.isSingleValuedRelationship(type, attribute) ||
      typeHelper.isSimpleStateAttribute(type, attribute)) {
      validateNavigation(path, context);
    } else {
      throw JPQLException.invalidSetClauseTarget(
        context.getQueryInfo(), attributeNode.getLine(),
        attributeNode.getColumn(), path.getAsString(), attribute);
    }
  }
}
origin: com.haulmont.thirdparty/eclipselink

/** */
private void validateTarget(Node node, ParseTreeContext context) {
  if (node.isDotNode()) {
    TypeHelper typeHelper = context.getTypeHelper();
    Node path = node.getLeft();
    Object type = path.getType();
    AttributeNode attributeNode = (AttributeNode)node.getRight();
    String attribute = attributeNode.getAttributeName();
    if (typeHelper.isSingleValuedRelationship(type, attribute) || 
      typeHelper.isSimpleStateAttribute(type, attribute)) {
      validateNavigation(path, context);
    } else {
      throw JPQLException.invalidSetClauseTarget(
        context.getQueryInfo(), attributeNode.getLine(), 
        attributeNode.getColumn(), path.getAsString(), attribute);
    }
  }
}
origin: org.eclipse.persistence/com.springsource.org.eclipse.persistence

/** */
private void validateTarget(Node node, ParseTreeContext context) {
  if (node.isDotNode()) {
    TypeHelper typeHelper = context.getTypeHelper();
    Node path = node.getLeft();
    Object type = path.getType();
    AttributeNode attributeNode = (AttributeNode)node.getRight();
    String attribute = attributeNode.getAttributeName();
    if (typeHelper.isSingleValuedRelationship(type, attribute) || 
      typeHelper.isSimpleStateAttribute(type, attribute)) {
      validateNavigation(path, context);
    } else {
      throw JPQLException.invalidSetClauseTarget(
        context.getQueryInfo(), attributeNode.getLine(), 
        attributeNode.getColumn(), path.getAsString(), attribute);
    }
  }
}
org.eclipse.persistence.exceptionsJPQLExceptioninvalidSetClauseTarget

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

Popular in Java

  • Creating JSON documents from java classes using gson
  • getApplicationContext (Context)
  • setRequestProperty (URLConnection)
  • compareTo (BigDecimal)
  • UUID (java.util)
    UUID is an immutable representation of a 128-bit universally unique identifier (UUID). There are mul
  • Vector (java.util)
    Vector is an implementation of List, backed by an array and synchronized. All optional operations in
  • Pattern (java.util.regex)
    Patterns are compiled regular expressions. In many cases, convenience methods such as String#matches
  • Servlet (javax.servlet)
    Defines methods that all servlets must implement. A servlet is a small Java program that runs within
  • BasicDataSource (org.apache.commons.dbcp)
    Basic implementation of javax.sql.DataSource that is configured via JavaBeans properties. This is no
  • IsNull (org.hamcrest.core)
    Is the value null?
  • 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