congrats Icon
New! Tabnine Pro 14-day free trial
Start a free trial
Tabnine Logo
JPQLException.entityTypeNotFound
Code IndexAdd Tabnine to your IDE (free)

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

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

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

/** 
 * INTERNAL
 * Answer the class associated with the provided schema name
 */
public Class classForSchemaName(String schemaName, GenerationContext context) {
  ClassDescriptor descriptor = context.getSession().getDescriptorForAlias(schemaName);
  if (descriptor == null) {
    throw JPQLException.entityTypeNotFound(getQueryInfo(), schemaName);
  }
  Class theClass = descriptor.getJavaClass();
  if (theClass == null) {
    throw JPQLException.resolutionClassNotFoundException(getQueryInfo(), schemaName);
  }
  return theClass;
}
origin: org.eclipse.persistence/org.eclipse.persistence.core

/**
 * INTERNAL
 * Answer the class associated with the provided schema name
 */
public Class classForSchemaName(String schemaName, GenerationContext context) {
  ClassDescriptor descriptor = context.getSession().getDescriptorForAlias(schemaName);
  if (descriptor == null) {
    throw JPQLException.entityTypeNotFound(getQueryInfo(), schemaName);
  }
  Class theClass = descriptor.getJavaClass();
  if (theClass == null) {
    throw JPQLException.resolutionClassNotFoundException(getQueryInfo(), schemaName);
  }
  return theClass;
}
origin: com.haulmont.thirdparty/eclipselink

/** 
 * INTERNAL
 * Answer the class associated with the provided schema name
 */
public Class classForSchemaName(String schemaName, GenerationContext context) {
  ClassDescriptor descriptor = context.getSession().getDescriptorForAlias(schemaName);
  if (descriptor == null) {
    throw JPQLException.entityTypeNotFound(getQueryInfo(), schemaName);
  }
  Class theClass = descriptor.getJavaClass();
  if (theClass == null) {
    throw JPQLException.resolutionClassNotFoundException(getQueryInfo(), schemaName);
  }
  return theClass;
}
org.eclipse.persistence.exceptionsJPQLExceptionentityTypeNotFound

Popular methods of JPQLException

  • <init>
    INTERNAL Only TopLink can throw and create these excpetions
  • aliasResolutionException
  • constructorClassNotFound
  • 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
  • invalidEnumEqualExpression
  • invalidCollectionNavigation,
  • invalidEnumEqualExpression,
  • invalidEnumLiteral,
  • invalidExpressionArgument,
  • invalidFunctionArgument,
  • invalidMultipleUseOfSameParameter,
  • invalidNavigation,
  • invalidSetClauseNavigation,
  • invalidSetClauseTarget

Popular in Java

  • Making http requests using okhttp
  • getResourceAsStream (ClassLoader)
  • getContentResolver (Context)
  • getExternalFilesDir (Context)
  • FileNotFoundException (java.io)
    Thrown when a file specified by a program cannot be found.
  • Socket (java.net)
    Provides a client-side TCP socket.
  • Connection (java.sql)
    A connection represents a link from a Java application to a database. All SQL statements and results
  • SimpleDateFormat (java.text)
    Formats and parses dates in a locale-sensitive manner. Formatting turns a Date into a String, and pa
  • ReentrantLock (java.util.concurrent.locks)
    A reentrant mutual exclusion Lock with the same basic behavior and semantics as the implicit monitor
  • JTextField (javax.swing)
  • Sublime Text for Python
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