Class QueryException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
org.eclipse.persistence.exceptions.EclipseLinkException
org.eclipse.persistence.exceptions.ValidationException
org.eclipse.persistence.exceptions.QueryException
- All Implemented Interfaces:
Serializable
Purpose: This exception is used for any problem that is detected with a query.
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected DatabaseQuery
static final int
static final int
static final int
static final int
static final int
static final int
static final int
protected org.eclipse.persistence.internal.sessions.AbstractRecord
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
static final int
Fields inherited from class org.eclipse.persistence.exceptions.ValidationException
ALREADY_LOGGED_IN, CACHE_EXPIRY_AND_EXPIRY_TIME_OF_DAY_BOTH_SPECIFIED, CACHE_NOT_SUPPORTED_WITH_EMBEDDABLE, CANNOT_ACQUIRE_CLIENTSESSION_FROM_SESSION, CANNOT_ACQUIRE_DATA_SOURCE, CANNOT_ACQUIRE_HISTORICAL_SESSION, CANNOT_ADD_DESCRIPTORS_TO_SESSION, CANNOT_ADD_DESCRIPTORS_TO_SESSION_BROKER, CANNOT_ADD_SEQUENCES_TO_SESSION_BROKER, CANNOT_CAST_TO_CLASS, CANNOT_COMMIT_AND_RESUME_UOW_WITH_MODIFY_ALL_QUERIES, CANNOT_COMMIT_UOW_AGAIN, CANNOT_CREATE_EXTERNAL_TRANSACTION_CONTROLLER, CANNOT_INSTANTIATE_EXCEPTIONHANDLER_CLASS, CANNOT_INSTANTIATE_PROFILER_CLASS, CANNOT_INSTANTIATE_SESSIONEVENTLISTENER_CLASS, CANNOT_INVOKE_METHOD_ON_CONFIG_CLASS, CANNOT_LOGIN_TO_A_SESSION, CANNOT_LOGOUT_OF_A_SESSION, CANNOT_MODIFY_READ_ONLY_CLASSES_SET_AFTER_USING_UNIT_OF_WORK, CANNOT_MODIFY_SCHEMA_IN_SESSION, CANNOT_PERSIST_MANAGED_OBJECT, CANNOT_REGISTER_AGGREGATE_OBJECT_IN_UNIT_OF_WORK, CANNOT_RELEASE_NON_CLIENTSESSION, CANNOT_REMOVE_FROM_READ_ONLY_CLASSES_IN_NESTED_UNIT_OF_WORK, CANNOT_RESUME_SYNCHRONIZED_UOW, CANNOT_SET_CURSOR_FOR_PARAMETER_TYPE_OTHER_THAN_OUT, CANNOT_SET_DEFAULT_SEQUENCE_AS_DEFAULT, CANNOT_SET_READ_POOL_SIZE_AFTER_LOGIN, CANNOT_TRANSLATE_UNPREPARED_CALL, CANNOT_WRITE_CHANGES_ON_NESTED_UNIT_OF_WORK, CANNOT_WRITE_CHANGES_TWICE, CANT_HAVE_UNBOUND_IN_OUTPUT_ARGUMENTS, CHILD_DESCRIPTORS_DO_NOT_HAVE_IDENTITY_MAP, CIRCULAR_MAPPED_BY_REFERENCES, CLASS_EXTRACTOR_CAN_NOT_BE_SPECIFIED_WITH_DISCRIMINATOR, CLASS_FILE_TRANSFORMER_THROWS_EXCEPTION, CLASS_LIST_MUST_NOT_BE_NULL, CLASS_NOT_FOUND_WHILE_CONVERTING_CLASSNAMES, CLASS_NOT_LISTED_IN_PERSISTENCE_UNIT, CLIENT_SESSION_CANNOT_USE_EXCLUSIVE_CONNECTION, COLLECTION_REMOVE_EVENT_WITH_NO_INDEX, CONFIG_FACTORY_NAME_PROPERTY_NOT_FOUND, CONFIG_FACTORY_NAME_PROPERTY_NOT_SPECIFIED, CONFIG_METHOD_NOT_DEFINED, CONFLICTING_ANNOTATIONS, CONFLICTING_NAMED_ANNOTATIONS, CONFLICTING_NAMED_XML_ELEMENTS, CONFLICTING_SEQUENCE_AND_TABLE_GENERATORS_SPECIFIED, CONFLICTING_SEQUENCE_NAME_AND_TABLE_PK_COLUMN_VALUE_SPECIFIED, CONFLICTING_XML_ELEMENTS, CONFLICTNG_ACCESS_METHODS_FOR_EMBEDDABLE, CONFLICTNG_ACCESS_TYPE_FOR_EMBEDDABLE, CONTAINER_POLICY_DOES_NOT_USE_KEYS, CONVERTER_CLASS_MUST_IMPLEMENT_ATTRIBUTE_CONVERTER_INTERFACE, CONVERTER_CLASS_NOT_FOUND, CONVERTER_NOT_FOUND, COPY_POLICY_MUST_SPECIFY_METHOD_OR_WORKING_COPY_METHOD, COULD_NOT_BIND_JNDI, COULD_NOT_FIND_DRIVER_CLASS, COULD_NOT_FIND_MAP_KEY, CREATE_PLATFORM_DEFAULT_SEQUENCE_UNDEFINED, CURRENT_LOADER_NOT_VALID, DEFAULT_SEQUENCE_NAME_ALREADY_USED_BY_SEQUENCE, DERIVED_ID_CIRCULAR_REFERENCE, DESCRIPTOR_MUST_NOT_BE_INITIALIZED, DUPLICATE_PARTITION_VALUE, EJB_CANNOT_LOAD_REMOTE_CLASS, EJB_CONTAINER_EXCEPTION_RAISED, EJB_DESCRIPTOR_NOT_FOUND_IN_SESSION, EJB_FINDER_EXCEPTION, EJB_INVALID_FINDER_ON_HOME, EJB_INVALID_PLATFORM_CLASS, EJB_INVALID_PROJECT_CLASS, EJB_INVALID_SESSION_TYPE_CLASS, EJB_MUST_BE_IN_TRANSACTION, EJB_NO_SUCH_SESSION_SPECIFIED_IN_PROPERTIES, EJB_PRIMARY_KEY_REFLECTION_EXCEPTION, EJB_SESSION_TYPE_CLASS_NOT_FOUND, EJB_TOPLINK_PROPERTIES_NOT_FOUND, EMBEDDABLE_ASSOCIATION_OVERRIDE_NOT_FOUND, EMBEDDABLE_ATTRIBUTE_NAME_FOR_CONVERT_NOT_FOUND, EMBEDDABLE_ATTRIBUTE_OVERRIDE_NOT_FOUND, EMBEDDED_ID_AND_ID_ANNOTATIONS_FOUND, EMBEDDED_ID_CLASS_HAS_NO_ATTRIBUTES, ENTITY_CLASS_NOT_FOUND, ERROR_CLOSING_PERSISTENCE_XML, ERROR_DECRYPTING_PASSWORD, ERROR_ENCRYPTING_PASSWORD, ERROR_IN_SESSION_XML, ERROR_INSTANTIATING_CLASS, ERROR_INSTANTIATING_CONVERSION_VALUE_DATA, ERROR_INSTANTIATING_CONVERSION_VALUE_OBJECT, ERROR_PARSING_MAPPING_FILE, ERROR_PROCESSING_NAMED_QUERY, EXCEPTION_CONFIGURING_EM_FACTORY, EXCESSIVE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED, EXCLUSIVE_CONNECTION_NO_LONGER_AVAILABLE, EXISTING_QUERY_TYPE_CONFLICT, EXPECTED_PROXY_PROPERTY_NOT_FOUND, FATAL_ERROR_OCCURRED, FEATURE_NOT_SUPPORTED_IN_JDK_VERSION, FETCH_GROUP_HAS_UNMAPPED_ATTRIBUTE, FETCH_GROUP_HAS_WRONG_REFERENCE_ATTRIBUTE, FETCH_GROUP_HAS_WRONG_REFERENCE_CLASS, FIELD_LEVEL_LOCKING_NOTSUPPORTED_OUTSIDE_A_UNIT_OF_WORK, FILE_ERROR, HISTORICAL_SESSION_ONLY_SUPPORTED_ON_ORACLE, ILLEGAL_CONTAINER_CLASS, ILLEGAL_USE_OF_MAP_IN_DIRECTCOLLECTION, INACTIVE_UNIT_OF_WORK, INCOMPLETE_JOIN_COLUMNS_SPECIFIED, INCOMPLETE_PRIMARY_KEY_JOIN_COLUMNS_SPECIFIED, INCORRECT_LOGIN_INSTANCE_PROVIDED, INSTANTIATING_VALUEHOLDER_WITH_NULL_SESSION, INVALID_ASSOCIATION_OVERRIDE_REFERENCE_COLUMN_NAME, INVALID_ATTRIBUTE_OVERRIDE_NAME, INVALID_ATTRIBUTE_TYPE_FOR_ORDER_COLUMN, INVALID_BOOLEAN_VALUE_FOR_ADDINGNAMEDQUERIES, INVALID_BOOLEAN_VALUE_FOR_ENABLESTATMENTSCACHED, INVALID_BOOLEAN_VALUE_FOR_PROPERTY, INVALID_BOOLEAN_VALUE_FOR_SETTING_ALLOW_NATIVESQL_QUERIES, INVALID_BOOLEAN_VALUE_FOR_SETTING_NATIVESQL, INVALID_CACHESTATEMENTS_SIZE_VALUE, INVALID_CALLBACK_METHOD, INVALID_CALLBACK_METHOD_MODIFIER, INVALID_CALLBACK_METHOD_NAME, INVALID_CLASS_LOADER_FOR_DYNAMIC_PERSISTENCE, INVALID_CLASS_TYPE_FOR_BLOB_ATTRIBUTE, INVALID_CLASS_TYPE_FOR_CLOB_ATTRIBUTE, INVALID_COLLECTION_TYPE_FOR_RELATIONSHIP, INVALID_COLUMN_ANNOTATION_ON_RELATIONSHIP, INVALID_COMPARATOR_CLASS, INVALID_COMPOSITE_PK_ATTRIBUTE, INVALID_COMPOSITE_PK_SPECIFICATION, INVALID_CONNECTOR, INVALID_DATA_SOURCE_NAME, INVALID_DERIVED_COMPOSITE_PK_ATTRIBUTE, INVALID_DERIVED_ID_PRIMARY_KEY_FIELD, INVALID_EMBEDDABLE_ATTRIBUTE_FOR_ASSOCIATION_OVERRIDE, INVALID_EMBEDDABLE_ATTRIBUTE_FOR_ATTRIBUTE_OVERRIDE, INVALID_EMBEDDABLE_CLASS_FOR_ELEMENT_COLLECTION, INVALID_EMBEDDED_ATTRIBUTE, INVALID_ENCRYPTION_CLASS, INVALID_ENTITY_CALLBACK_METHOD_ARGUMENTS, INVALID_ENTITY_LISTENER_CALLBACK_METHOD_ARGUMENTS, INVALID_ENTITY_MAPPINGS_DOCUMENT, INVALID_EXCEPTIONHANDLER_CLASS, INVALID_EXPLICIT_ACCESS_TYPE, INVALID_FIELD_FOR_CLASS, INVALID_FILE_TYPE, INVALID_LOGGING_FILE, INVALID_MAPPED_BY_ID_VALUE, INVALID_MAPPING, INVALID_MAPPING_FOR_CONVERT, INVALID_MAPPING_FOR_CONVERT_WITH_ATTRIBUTE_NAME, INVALID_MAPPING_FOR_CONVERTER, INVALID_MAPPING_FOR_EMBEDDED_ID, INVALID_MAPPING_FOR_MAP_KEY_CONVERT, INVALID_MAPPING_FOR_STRUCT_CONVERTER, INVALID_MERGE_POLICY, INVALID_METHOD_ARGUMENTS, INVALID_NULL_METHOD_ARGUMENTS, INVALID_ORDER_BY_VALUE, INVALID_PERSISTENCE_ROOT_URL, INVALID_PROFILER_CLASS, INVALID_PROPERTY_FOR_CLASS, INVALID_READ_ONLY_CLASS_STRUCTURE_IN_UNIT_OF_WORK, INVALID_SEQUENCING_LOGIN, INVALID_SESSIONEVENTLISTENER_CLASS, INVALID_SQL_RESULT_SET_MAPPING_NAME, INVALID_TARGET_CLASS, INVALID_TYPE_FOR_BASIC_COLLECTION_ATTRIBUTE, INVALID_TYPE_FOR_BASIC_MAP_ATTRIBUTE, INVALID_TYPE_FOR_ENUMERATED_ATTRIBUTE, INVALID_TYPE_FOR_LOB_ATTRIBUTE, INVALID_TYPE_FOR_SERIALIZED_ATTRIBUTE, INVALID_TYPE_FOR_TEMPORAL_ATTRIBUTE, INVALID_TYPE_FOR_VERSION_ATTRIBUTE, INVALID_VALUE_FOR_PROPERTY, ISOLATED_DATA_NOT_SUPPORTED_IN_CLIENTSESSIONBROKER, JAR_FILES_IN_PERSISTENCE_XML_NOT_SUPPORTED, JAVA_TYPE_IS_NOT_A_VALID_DATABASE_TYPE, JTS_EXCEPTION_RAISED, KEYS_MUST_MATCH, LIST_ORDER_FIELD_NOT_SUPPORTED, LOG_IO_ERROR, LOGGING_FILE_NAME_CANNOT_BE_EMPTY, LOGIN_BEFORE_ALLOCATING_CLIENT_SESSIONS, MAP_KEY_CANNOT_USE_INDIRECTION, MAP_KEY_NOT_DECLARED_IN_ITEM_CLASS, MAPPING_ANNOTATIONS_APPLIED_TO_TRANSIENT_ATTRIBUTE, MAPPING_DOES_NOT_OVERRIDE_VALUEFROMROWINTERNALWITHJOIN, MAPPING_FILE_NOT_FOUND, MAPPING_METADATA_APPLIED_TO_METHOD_WITH_ARGUMENTS, MAX_SIZE_LESS_THAN_MIN_SIZE, METHOD_FAILED, MISSING_CONTEXT_STRING_FOR_CONTEXT, MISSING_CONVERT_ATTRIBUTE_NAME, MISSING_DESCRIPTOR, MISSING_FIELD_TYPE_FOR_DDL_GENERATION_OF_CLASS_TRANSFORMATION_, MISSING_MAPPING, MISSING_MAPPING_CONVERT_ATTRIBUTE_NAME, MISSING_PROPERTIES_FILE_FOR_METADATA_SOURCE, MISSING_TRANSFORMER_METHOD_FOR_DDL_GENERATION_OF_CLASS_TRANSFORMATION, MISSING_XML_FILE_FOR_METADATA_SOURCE, MODIFY_ALL_QUERIES_NOT_SUPPORTED_WITH_OTHER_WRITES, MULTIPLE_CALLBACK_METHODS_DEFINED, MULTIPLE_CLASSES_FOR_THE_SAME_DISCRIMINATOR, MULTIPLE_CONTEXT_PROPERTY_FOR_TENANT_DISCRIMINATOR_FIELD, MULTIPLE_COPY_POLICY_ANNOTATIONS_ON_SAME_CLASS, MULTIPLE_CURSORS_NOT_SUPPORTED, MULTIPLE_EMBEDDED_ID_ANNOTATIONS_FOUND, MULTIPLE_OBJECT_VALUES_FOR_DATA_VALUE, MULTIPLE_OUT_PARAMS_NOT_SUPPORTED, MULTIPLE_PROJECTS_SPECIFIED_IN_PROPERTIES, MULTIPLE_UNIQUE_CONSTRAINTS_WITH_SAME_NAME_SPECIFIED, MULTITENANT_PROPERTY_FOR_NON_SHARED_EMF_NOT_SPECIFIED, NESTED_UOW_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING, NESTED_UOW_NOT_SUPPORTED_FOR_MODIFY_ALL_QUERY, NO_ATTRIBUTE_TYPE_SPECIFICATION, NO_CONVERTER_DATA_TYPE_SPECIFIED, NO_CONVERTER_OBJECT_TYPE_SPECIFIED, NO_CORRESPONDING_SETTER_METHOD_DEFINED, NO_MAPPED_BY_ATTRIBUTE_FOUND, NO_PK_ANNOTATIONS_FOUND, NO_PROJECT_SPECIFIED_IN_PROPERTIES, NO_PROPERTIES_FILE_FOUND, NO_SESSION_FOUND, NO_SESSION_REGISTERED_FOR_CLASS, NO_SESSION_REGISTERED_FOR_NAME, NO_SESSIONS_XML_FOUND, NO_TABLES_TO_CREATE, NO_TEMPORAL_TYPE_SPECIFIED, NO_TOPLINK_EJB_JAR_XML_FOUND, NON_ENTITY_AS_TARGET_IN_RELATIONSHIP, NON_READ_ONLY_MAPPED_TENANT_DISCRIMINATOR_FIELD, NON_UNIQUE_ENTITY_NAME, NON_UNIQUE_MAPPING_FILE_NAME, NON_UNIQUE_REPOSITORY_FILE_NAME, NOT_SUPPORTED_FOR_DATASOURCE, NULL_CACHE_KEY_FOUND_ON_REMOVAL, NULL_PK_IN_UOW_CLONE, NULL_UNDERLYING_VALUEHOLDER_VALUE, OBJECT_NEED_IMPL_TRACKER_FOR_FETCH_GROUP_USAGE, OLD_COMMIT_NOT_SUPPORTED_FOR_ATTRIBUTE_TRACKING, ONLY_FIELDS_ARE_VALID_KEYS_FOR_DATABASE_ROWS, ONLY_ONE_GENERATED_VALURE_IS_ALLOWED, OPERATION_NOT_SUPPORTED, OPTIMISTIC_LOCKING_NOT_SUPPORTED, OPTIMISTIC_LOCKING_SELECTED_COLUMN_NAMES_NOT_SPECIFIED, OPTIMISTIC_LOCKING_VERSION_ELEMENT_NOT_SPECIFIED, ORACLE_OBJECT_TYPE_NAME_NOT_DEFINED, ORACLE_OBJECT_TYPE_NOT_DEFINED, ORACLE_VARRAY_MAXIMIM_SIZE_NOT_DEFINED, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_INT_PROXYTYPE, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION, ORACLEJDBC10_1_0_2PROXYCONNECTOR_REQUIRES_ORACLECONNECTION_VERSION, ORACLEOCIPROXYCONNECTOR_REQUIRES_ORACLEOCICONNECTIONPOOL, PLATFORM_CLASS_NOT_FOUND, PLATFORM_DOES_NOT_OVERRIDE_GETCREATETEMPTABLESQLPREFIX, PLATFORM_DOES_NOT_SUPPORT_CALL_WITH_RETURNING, PLATFORM_DOES_NOT_SUPPORT_SEQUENCE, PLATFORM_DOES_NOT_SUPPORT_STORED_FUNCTIONS, POOL_NAME_DOES_NOT_EXIST, POOLS_MUST_BE_CONFIGURED_BEFORE_LOGIN, PRIMARY_KEY_COLUMN_NAME_NOT_SPECIFIED, PRIMARY_KEY_UPDATE_DISALLOWED, PRIMARY_TABLE_NOT_DEFINED_FOR_RELATIONSHIP, PROJECT_AMENDMENT_EXCEPTION_OCCURED, PROJECT_LOGIN_IS_NULL, PROJECT_XML_NOT_FOUND, QUERY_ARGUMENT_TYPE_NOT_FOUND, QUERY_SEQUENCE_DOES_NOT_HAVE_SELECT_QUERY, READ_TRANSFORMER_CLASS_DOESNT_IMPLEMENT_ATTRIBUTE_TRANSFORMER, READ_TRANSFORMER_HAS_BOTH_CLASS_AND_METHOD, READ_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHOD, REFLECTIVE_EXCEPTION_WHILE_CREATING_CLASS_INSTANCE, SEQUENCE_CANNOT_BE_CONNECTED_TO_TWO_PLATFORMS, SEQUENCE_GENERATOR_RESERVED_NAME, SEQUENCE_NAME_ALREADY_USED_BY_DEFAULT_SEQUENCE, SEQUENCE_SETUP_INCORRECTLY, SERVER_PLATFORM_IS_READ_ONLY_AFTER_LOGIN, SESSION_AMENDMENT_EXCEPTION_OCCURED, SET_LISTENER_CLASSES_EXCEPTION, SHARED_DESCRIPTOR_ALIAS, START_INDEX_OUT_OF_RANGE, STOP_INDEX_OUT_OF_RANGE, SUB_SESSION_NOT_DEFINED_FOR_BROKER, TABLE_GENERATOR_RESERVED_NAME, TWO_STRUCT_CONVERTERS_ADDED_FOR_SAME_CLASS, UNABLE_TO_DETERMINE_MAP_KEY_CLASS, UNABLE_TO_DETERMINE_TARGET_CLASS, UNABLE_TO_DETERMINE_TARGET_ENTITY, UNABLE_TO_LOAD_CLASS, UNFETCHED_ATTRIBUTE_NOT_EDITABLE, UNI_DIRECTIONAL_ONE_TO_MANY_HAS_JOINCOLUMN_ANNOTATIONS, UNIT_OF_WORK_AFTER_WRITE_CHANGES_FAILED, UNIT_OF_WORK_IN_TRANSACTION_COMMIT_PENDING, UNKNOWN_PROXY_TYPE, UNSPECIFIED_COMPOSITE_PK_NOT_SUPPORTED, UNSUPPORTED_CASCADE_LOCKING_DESCRIPTOR, UNSUPPORTED_CASCADE_LOCKING_MAPPING, UNSUPPORTED_CASCADE_LOCKING_MAPPING_WITH_CUSTOM_QUERY, VPD_MULTIPLE_IDENTIFIERS_SPECIFIED, VPD_NOT_SUPPORTED, WRITE_OBJECT_NOT_ALLOWED_IN_UNIT_OF_WORK, WRITE_TRANSFORMER_CLASS_DOESNT_IMPLEMENT_FIELD_TRANSFORMER, WRITE_TRANSFORMER_HAS_BOTH_CLASS_AND_METHOD, WRITE_TRANSFORMER_HAS_NEITHER_CLASS_NOR_METHOD, WRITE_TRANSFORMER_HAS_NO_COLUMN_NAME, WRONG_CHANGE_EVENT, WRONG_COLLECTION_CHANGE_EVENT_TYPE, WRONG_OBJECT_REGISTERED, WRONG_PROPERTY_NAME_IN_CHANGE_EVENT, WRONG_SEQUENCE_TYPE, WRONG_USAGE_OF_SET_CUSTOM_SQL_ARGUMENT_TYPE_METOD
Fields inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
CR, errorCode, hasBeenLogged, indentationString, internalException, session, shouldPrintInternalException
-
Constructor Summary
ModifierConstructorDescriptionprotected
QueryException
(String message) INTERNAL: Constructor.protected
QueryException
(String message, DatabaseQuery query) INTERNAL: Constructor.protected
QueryException
(String message, DatabaseQuery query, Exception internalException) INTERNAL: Constructor. -
Method Summary
Modifier and TypeMethodDescriptionstatic QueryException
addArgumentsNotSupported
(String argumentType) static QueryException
static QueryException
aggregateObjectCannotBeDeletedOrWritten
(ClassDescriptor descriptor, DatabaseQuery query) static QueryException
static QueryException
backupCloneIsDeleted
(Object clone) static QueryException
static QueryException
static QueryException
static QueryException
batchReadingNotSupported
(DatabaseMapping mapping, DatabaseQuery query) static QueryException
static QueryException
calledMethodThrewException
(Method aMethod, Object object, Exception ex) static ValidationException
cannotAccessFieldOnObject
(Field aField, Object anObject) static ValidationException
cannotAccessMethodOnObject
(Method aMethod, Object anObject) static QueryException
cannotAddElement
(Object anObject, Object aContainer, Exception ex) static QueryException
static QueryException
cannotAddToContainer
(Object anObject, Object aContainer, org.eclipse.persistence.internal.queries.ContainerPolicy policy) static QueryException
static QueryException
static QueryException
static QueryException
static QueryException
cannotCompareTargetForeignKeysToNull
(Expression expression, Object value, DatabaseMapping mapping) static QueryException
static QueryException
static QueryException
cannotConformUnfetchedAttribute
(String attrbuteName) static QueryException
cannotCreateClone
(org.eclipse.persistence.internal.queries.ContainerPolicy policy, Object anObject) static QueryException
cannotDeleteReadOnlyObject
(Object anObject) static QueryException
cannotQueryAcrossAVariableOneToOneMapping
(DatabaseMapping mapping, ClassDescriptor descriptor) static QueryException
cannotRemoveFromContainer
(Object anObject, Object aContainer, org.eclipse.persistence.internal.queries.ContainerPolicy policy) static QueryException
static QueryException
cannotUnwrapNonMapMembers
(Object object) static QueryException
static QueryException
classNotFoundWhileUsingQueryHint
(DatabaseQuery query, Object hintValue, Exception exc) static QueryException
classPkDoesNotExistInCache
(Class theClass, Object primaryKey) static QueryException
static QueryException
static QueryException
static QueryException
cloneMethodThrowException
(Throwable exception) static QueryException
columnResultNotFound
(org.eclipse.persistence.internal.helper.DatabaseField dbField) static QueryException
compatibleTypeNotSet
(org.eclipse.persistence.internal.helper.DatabaseType type) static QueryException
couldNotFindCastDescriptor
(Class castClass, Expression base) static QueryException
couldNotInstantiateContainerClass
(Class aClass, Exception exception) static QueryException
deleteAllQuerySpecifiesObjectsButNotSelectionCriteria
(ClassDescriptor descriptor, DatabaseQuery query, String objects) static QueryException
descriptorIsMissing
(Class referenceClass, DatabaseQuery query) static QueryException
descriptorIsMissingForNamedQuery
(Class domainClass, String queryName) static QueryException
discriminatorColumnNotSelected
(String expectedColumn, String sqlResultSetMapping) static QueryException
static QueryException
errorInstantiatedClassForQueryHint
(Exception exception, DatabaseQuery query, Class theClass, String hint) static QueryException
exampleAndReferenceObjectClassMismatch
(Class exampleObjectClass, Class referenceObjectClass, DatabaseQuery query) Oct 18, 2000 JED Added this method and exception valuestatic QueryException
exceptionWhileInitializingConstructor
(Exception thrownException, DatabaseQuery query, Class targetClass) An exception was thrown while initializing the constructor from the class.static QueryException
exceptionWhileReadingMapKey
(Object object, Exception ex) static QueryException
exceptionWhileUsingConstructorExpression
(Exception thrownException, DatabaseQuery query) An exception was throwing while using a ReportQuery with a constructor expressionstatic QueryException
static QueryException
failoverFailed
(String poolName) static QueryException
fetchGroupAttributeNotMapped
(String attrbuteName) static QueryException
fetchGroupNotDefinedInDescriptor
(String fetchGroupName) static QueryException
static QueryException
static QueryException
fetchGroupValidOnlyIfFetchGroupManagerInDescriptor
(String descriptorName, String queryName) PUBLIC: Return the exception error message.getQuery()
PUBLIC: Return the query in which the problem was detected.PUBLIC: Return the query argements used in the original query when exception is thrownstatic QueryException
static QueryException
static QueryException
illegalUseOfGetField
(Object data) static QueryException
illegalUseOfGetTable
(Object data) static QueryException
illFormedExpression
(Expression queryKey) static QueryException
static QueryException
incorrectClassForObjectComparison
(Expression expression, Object value, DatabaseMapping mapping) static QueryException
incorrectQueryObjectFound
(DatabaseQuery query, Class expectedQueryClass) static QueryException
static QueryException
indexRequiresCollectionMappingWithListOrderField
(Expression expression, DatabaseMapping mapping) static QueryException
indexRequiresQueryKeyExpression
(Expression expression) static QueryException
static QueryException
static QueryException
invalidContainerClass
(Class containerGiven, Class containerRequired) static QueryException
invalidDatabaseAccessor
(org.eclipse.persistence.internal.databaseaccess.Accessor accessor) static QueryException
invalidDatabaseCall
(Call call) static QueryException
invalidExpression
(Object expression) static QueryException
invalidExpressionForQueryItem
(Expression expression, DatabaseQuery owner) static QueryException
invalidOperation
(String operation) static QueryException
invalidOperator
(Object data) static QueryException
invalidOperatorForObjectComparison
(Expression expression) static QueryException
invalidQuery
(DatabaseQuery query) static QueryException
static QueryException
static QueryException
static QueryException
static QueryException
invalidTypeExpression
(Object expression) static QueryException
static QueryException
static QueryException
static QueryException
joinExpressionsNotApplicableOnNonObjectReportItem
(String expressionType, String itemName) static QueryException
joiningAcrossInheritanceClassWithMultipleTablesNotSupported
(DatabaseQuery query, Class joinClass) static QueryException
listOrderFieldWrongValue
(DatabaseQuery query, org.eclipse.persistence.internal.helper.DatabaseField field, List wrongOrderValuesList) static QueryException
mapEntryExpressionForNonCollection
(Expression baseExpression, DatabaseMapping mapping) static QueryException
mapEntryExpressionForNonMap
(Expression baseExpression, DatabaseMapping mapping) static ValidationException
mapKeyIsNull
(Object element, Object container) static ValidationException
mapKeyNotComparable
(Object anObject, Object aContainer) static QueryException
mappingForExpressionDoesNotSupportJoining
(Object expression) static QueryException
mappingForFieldResultNotFound
(String[] attributeNames, int currentString) static QueryException
methodDoesNotExistInContainerClass
(String methodName, Class aClass) static QueryException
methodDoesNotExistOnExpression
(String methodName, Class[] argTypes) static QueryException
methodInvocationFailed
(Method aMethod, Object anObject, Exception ex) static QueryException
methodNotValid
(Object aReceiver, String methodName) static QueryException
missingConnectionPool
(String poolName, DatabaseQuery query) static QueryException
missingContextPropertyForPropertyParameterExpression
(DatabaseQuery query, String argumentName) static QueryException
static QueryException
static QueryException
static QueryException
namedArgumentNotFoundInQueryParameters
(String argumentName) static QueryException
static QueryException
Oct 19, 2000 JED Added this method and exception valuestatic QueryException
static QueryException
noConcreteClassIndicated
(org.eclipse.persistence.internal.sessions.AbstractRecord row, DatabaseQuery query) static QueryException
noCursorSupport
(DatabaseQuery query) static QueryException
noDescriptorForClassFromInheritancePolicy
(DatabaseQuery query, Class referenceClass) static QueryException
noExpressionBuilderFound
(Expression expression) static QueryException
noMappingForMapEntryExpression
(Expression baseExpression) static QueryException
noRelationTableInManyToManyQueryKey
(ManyToManyQueryKey queryKey, Expression expression) static QueryException
nullPrimaryKeyInBuildingObject
(DatabaseQuery query, org.eclipse.persistence.internal.sessions.AbstractRecord databaseRow) static QueryException
objectComparisonsCannotBeParameterized
(Expression expression) static QueryException
objectDoesNotExistInCache
(Object object) static QueryException
objectToInsertIsEmpty
(org.eclipse.persistence.internal.helper.DatabaseTable table) static QueryException
static QueryException
originalQueryMustUseBatchIN
(DatabaseMapping mapping, DatabaseQuery query) static QueryException
static QueryException
parameterNameMismatch
(String badParameterName) static QueryException
partitioningNotSupported
(org.eclipse.persistence.internal.sessions.AbstractSession session, DatabaseQuery query) static QueryException
polymorphicReportItemWithMultipletableNotSupported
(String itemName, Expression expression, DatabaseQuery owner) static QueryException
prepareFailed
(Exception error, DatabaseQuery query) static QueryException
queryHintContainedInvalidIntegerValue
(String hintName, Object hintValue, Exception e) static QueryException
queryHintDidNotContainEnoughTokens
(DatabaseQuery query, String hintName, Object hintValue) static QueryException
queryHintNavigatedIllegalRelationship
(DatabaseQuery query, String hintName, Object hintValue, String relationship) static QueryException
queryHintNavigatedNonExistantRelationship
(DatabaseQuery query, String hintName, Object hintValue, String relationship) static QueryException
static QueryException
queryNotDefined
(String queryName) static QueryException
queryNotDefined
(String queryName, Class domainClass) static QueryException
static QueryException
readBeyondStream
(DatabaseQuery query) static QueryException
static QueryException
redirectionMethodError
(Exception exception, DatabaseQuery query) static QueryException
redirectionMethodNotDefinedCorrectly
(Class methodClass, String methodName, Exception exception, DatabaseQuery query) static QueryException
static QueryException
reflectiveCallOnTopLinkClassFailed
(String className, Exception e) static QueryException
static QueryException
static QueryException
reportQueryResultSizeMismatch
(int expected, int retrieved) static QueryException
static QueryException
static QueryException
void
setQuery
(DatabaseQuery query) INTERNAL: Set the query in which the problem was detected.void
setQueryArguments
(org.eclipse.persistence.internal.sessions.AbstractRecord queryArguments) INTERNAL: Set the query argements used in the original query when exception is thrownstatic QueryException
static QueryException
sopObjectDeserializeFailed
(DatabaseQuery query, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row, Exception exception) static QueryException
sopObjectIsNotFound
(DatabaseQuery query, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row) static QueryException
sopObjectWrongPk
(DatabaseQuery query, Object sopObjectPk, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row) static QueryException
sopObjectWrongVersion
(DatabaseQuery query, Object sopObjectVersion, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row) static QueryException
specifiedPartialAttributeDoesNotExist
(DatabaseQuery query, String attributeName, String targetClassName) static QueryException
static QueryException
tempTablesNotSupported
(DatabaseQuery query, String platformClassName) static QueryException
typeMismatchBetweenAttributeAndConstantOnExpression
(Class constantClass, Class attributeClass) static QueryException
typeNameNotSet
(org.eclipse.persistence.internal.helper.DatabaseType type) static QueryException
unableToSetRedirectorOnQueryFromHint
(DatabaseQuery query, String hint, String redirectorClass, Exception ex) static QueryException
unexpectedInvocation
(String message) static QueryException
static QueryException
static QueryException
unsupportedMappingForObjectComparison
(DatabaseMapping mapping, Expression expression) static QueryException
unsupportedMappingQueryByExample
(String className, DatabaseMapping databaseMapping) static QueryException
updateAllQueryAddUpdateDefinesWrongField
(ClassDescriptor descriptor, DatabaseQuery query, String attributeNameOrExpression, String wrongField) static QueryException
updateAllQueryAddUpdateDoesNotDefineField
(ClassDescriptor descriptor, DatabaseQuery query, String attributeNameOrExpression) static QueryException
static QueryException
Methods inherited from class org.eclipse.persistence.exceptions.ValidationException
alreadyLoggedIn, cacheExpiryAndExpiryTimeOfDayBothSpecified, cacheNotSupportedWithEmbeddable, cannotAcquireClientSessionFromSession, cannotAcquireDataSource, cannotAcquireHistoricalSession, cannotAddDescriptorsToSessionBroker, cannotAddSequencesToSessionBroker, cannotCastToClass, cannotCommitAndResumeSynchronizedUOW, cannotCommitAndResumeUOWWithModifyAllQueries, cannotCommitUOWAgain, cannotCreateExternalTransactionController, cannotHaveUnboundInOutputArguments, cannotInstantiateExceptionHandlerClass, cannotInstantiateProfilerClass, cannotInstantiateSessionEventListenerClass, cannotInvokeMethodOnConfigClass, cannotIssueModifyAllQueryWithOtherWritesWithinUOW, cannotModifyReadOnlyClassesSetAfterUsingUnitOfWork, cannotPersistExistingObject, cannotRegisterAggregateObjectInUnitOfWork, cannotReleaseNonClientSession, cannotRemoveFromReadOnlyClassesInNestedUnitOfWork, cannotSetCursorForParameterTypeOtherThanOut, cannotSetDefaultSequenceAsDefault, cannotSetListenerClasses, cannotSetReadPoolSizeAfterLogin, cannotTranslateUnpreparedCall, cannotWriteChangesTwice, childDescriptorsDoNotHaveIdentityMap, circularMappedByReferences, classExtractorCanNotBeSpecifiedWithDiscriminatorMetadata, classFileTransformerThrowsException, classListMustNotBeNull, classNotFoundWhileConvertingClassNames, classNotListedInPersistenceUnit, clientSessionCanNotUseExclusiveConnection, collectionRemoveEventWithNoIndex, configFactoryNamePropertyNotFound, configFactoryNamePropertyNotSpecified, configMethodNotDefined, conflictingAccessMethodsForEmbeddable, conflictingAccessTypeForEmbeddable, conflictingAnnotations, conflictingNamedAnnotations, conflictingNamedXMLElements, conflictingSequenceAndTableGeneratorsSpecified, conflictingSequenceNameAndTablePkColumnValueSpecified, conflictingXMLElements, containerPolicyDoesNotUseKeys, converterClassMustImplementAttributeConverterInterface, converterClassNotFound, converterNotFound, copyPolicyMustSpecifyEitherMethodOrWorkingCopyMethod, couldNotBindJndi, couldNotFindDriverClass, couldNotFindMapKey, createPlatformDefaultSequenceUndefined, currentLoaderNotValid, defaultSequenceNameAlreadyUsedBySequence, descriptorMustBeNotInitialized, duplicatePartitionValue, ejbCannotLoadRemoteClass, ejbContainerExceptionRaised, ejbDescriptorNotFoundInSession, ejbFinderException, ejbInvalidHomeInterfaceClass, ejbInvalidPlatformClass, ejbInvalidProjectClass, ejbInvalidSessionTypeClass, ejbMustBeInTransaction, ejbPrimaryKeyReflectionException, ejbSessionTypeClassNotFound, embeddableAssociationOverrideNotFound, embeddableAttributeNameForConvertNotFound, embeddableAttributeOverrideNotFound, embeddedIdAndIdAnnotationFound, embeddedIdHasNoAttributes, entityClassNotFound, errorClosingPersistenceXML, errorDecryptingPassword, errorEncryptingPassword, errorInSessionsXML, errorInstantiatingClass, errorInstantiatingConversionValueData, errorInstantiatingConversionValueObject, errorParsingMappingFile, errorProcessingNamedQuery, exceptionConfiguringEMFactory, excessivePrimaryKeyJoinColumnsSpecified, excusiveConnectionIsNoLongerAvailable, existingQueryTypeConflict, expectedProxyPropertyNotFound, fatalErrorOccurred, featureIsNotAvailableInRunningJDKVersion, fetchGroupHasUnmappedAttribute, fetchGroupHasWrongReferenceAttribute, fetchGroupHasWrongReferenceClass, fieldLevelLockingNotSupportedWithoutUnitOfWork, fileError, historicalSessionOnlySupportedOnOracle, idRelationshipCircularReference, illegalContainerClass, illegalOperationForUnitOfWorkLifecycle, illegalUseOfMapInDirectCollection, inActiveUnitOfWork, incompleteJoinColumnsSpecified, incompletePrimaryKeyJoinColumnsSpecified, incorrectLoginInstanceProvided, instantiatingValueholderWithNullSession, invalidAssociationOverrideReferenceColumnName, invalidAttributeOverrideName, invalidAttributeTypeForOrderColumn, invalidBooleanValueForAddingNamedQueries, invalidBooleanValueForEnableStatmentsCached, invalidBooleanValueForProperty, invalidBooleanValueForSettingAllowNativeSQLQueries, invalidBooleanValueForSettingNativeSQL, invalidCacheStatementsSize, invalidCallbackMethod, invalidCallbackMethodModifier, invalidCallbackMethodName, invalidClassLoaderForDynamicPersistence, invalidClassTypeForBLOBAttribute, invalidClassTypeForCLOBAttribute, invalidCollectionTypeForRelationship, invalidColumnAnnotationOnRelationship, invalidComparatorClass, invalidCompositePKAttribute, invalidCompositePKSpecification, invalidConnector, invalidDataSourceName, invalidDerivedCompositePKAttribute, invalidDerivedIdPrimaryKeyField, invalidEmbeddableAttributeForAssociationOverride, invalidEmbeddableAttributeForAttributeOverride, invalidEmbeddableClassForElementCollection, invalidEmbeddedAttribute, invalidEncryptionClass, invalidEntityCallbackMethodArguments, invalidEntityListenerCallbackMethodArguments, invalidEntityMappingsDocument, invalidExceptionHandlerClass, invalidExplicitAccessTypeSpecified, invalidFieldForClass, invalidFileName, invalidLoggingFile, invalidLoggingFile, invalidMappedByIdValue, invalidMapping, invalidMappingForConvert, invalidMappingForConverter, invalidMappingForConvertWithAttributeName, invalidMappingForEmbeddedId, invalidMappingForMapKeyConvert, invalidMappingForStructConverter, invalidMergePolicy, invalidMethodArguments, invalidNullMethodArguments, invalidOrderByValue, invalidPersistenceRootUrl, invalidProfilerClass, invalidPropertyForClass, invalidSequencingLogin, invalidSessionEventListenerClass, invalidSQLResultSetMapping, invalidTargetClass, invalidTypeForBasicCollectionAttribute, invalidTypeForBasicMapAttribute, invalidTypeForEnumeratedAttribute, invalidTypeForLOBAttribute, invalidTypeForSerializedAttribute, invalidTypeForTemporalAttribute, invalidTypeForVersionAttribute, invalidValueForProperty, isolatedDataNotSupportedInSessionBroker, jarFilesInPersistenceXmlNotSupported, javaTypeIsNotAValidDatabaseType, jtsExceptionRaised, listOrderFieldNotSupported, loginBeforeAllocatingClientSessions, logIOError, mapKeyCannotUseIndirection, mapKeyNotDeclaredInItemClass, mappingAnnotationsAppliedToTransientAttribute, mappingDoesNotOverrideValueFromRowInternalWithJoin, mappingFileNotFound, mappingMetadataAppliedToMethodWithArguments, maxSizeLessThanMinSize, methodFailed, missingContextStringForContext, missingConvertAttributeName, missingDescriptor, missingFieldTypeForDDLGenerationOfClassTransformation, missingMappingConvertAttributeName, missingMappingForAttribute, missingPropertiesFileForMetadataRepositoryConfig, missingTransformerMethodForDDLGenerationOfClassTransformation, missingXMLMetadataRepositoryConfig, multipleClassesForTheSameDiscriminator, multipleContextPropertiesForSameTenantDiscriminatorFieldSpecified, multipleCopyPolicyAnnotationsOnSameClass, multipleCursorsNotSupported, multipleEmbeddedIdAnnotationsFound, multipleLifecycleCallbackMethodsForSameLifecycleEvent, multipleObjectValuesForDataValue, multipleOutParamsNotSupported, multipleUniqueConstraintsWithSameNameSpecified, multipleVPDIdentifiersSpecified, multitenantContextPropertyForNonSharedEMFNotSpecified, nestedUOWNotSupportedForAttributeTracking, nestedUOWNotSupportedForModifyAllQuery, noAttributeTypeSpecification, noConverterDataTypeSpecified, noConverterObjectTypeSpecified, noCorrespondingSetterMethodDefined, noMappedByAttributeFound, nonEntityTargetInRelationship, nonReadOnlyMappedTenantDiscriminatorField, nonUniqueEntityName, nonUniqueMappingFileName, nonUniqueRepositoryFileName, noPrimaryKeyAnnotationsFound, noPropertiesFileFound, noSessionFound, noSessionRegisteredForClass, noSessionRegisteredForName, noSessionsXMLFound, noTablesToCreate, noTemporalTypeSpecified, noTopLinkEjbJarXMLFound, notSupportedForDatasource, nullCacheKeyFoundOnRemoval, nullPrimaryKeyInUnitOfWorkClone, nullUnderlyingValueHolderValue, objectNeedImplTrackerForFetchGroupUsage, oldCommitNotSupportedForAttributeTracking, onlyFieldsAreValidKeysForDatabaseRows, onlyOneGeneratedValueIsAllowed, operationNotSupported, optimisticLockingNotSupportedWithStoredProcedureGeneration, optimisticLockingSelectedColumnNamesNotSpecified, optimisticLockingVersionElementNotSpecified, oracleJDBC10_1_0_2ProxyConnectorRequiresIntProxytype, oracleJDBC10_1_0_2ProxyConnectorRequiresOracleConnection, oracleJDBC10_1_0_2ProxyConnectorRequiresOracleConnectionVersion, oracleObjectTypeIsNotDefined, oracleObjectTypeNameIsNotDefined, oracleOCIProxyConnectorRequiresOracleOCIConnectionPool, oracleVarrayMaximumSizeNotDefined, platformClassNotFound, platformDoesNotOverrideGetCreateTempTableSqlPrefix, platformDoesNotSupportCallWithReturning, platformDoesNotSupportSequence, platformDoesNotSupportStoredFunctions, poolNameDoesNotExist, poolsMustBeConfiguredBeforeLogin, primaryKeyColumnNameNotSpecified, primaryKeyUpdateDisallowed, primaryTableNotDefined, projectLoginIsNull, projectXMLNotFound, queryArgumentTypeNotFound, querySequenceDoesNotHaveSelectQuery, readTransformerClassDoesntImplementAttributeTransformer, readTransformerHasBothClassAndMethod, readTransformerHasNeitherClassNorMethod, reflectiveExceptionWhileCreatingClassInstance, sequenceCannotBeConnectedToTwoPlatforms, sequenceGeneratorUsingAReservedName, sequenceNameAlreadyUsedByDefaultSequence, sequenceSetupIncorrectly, serverPlatformIsReadOnlyAfterLogin, sessionAmendmentExceptionOccured, sharedDescriptorAlias, startIndexOutOfRange, stopIndexOutOfRange, tableGeneratorUsingAReservedName, twoStructConvertersAddedForSameClass, unableToDetermineMapKeyClass, unableToDetermineTargetClass, unableToDetermineTargetEntity, unableToLoadClass, unfetchedAttributeNotEditable, uniDirectionalOneToManyHasJoinColumnAnnotations, unitOfWorkAfterWriteChangesFailed, unitOfWorkInTransactionCommitPending, unitOfWorkInTransactionCommitPending, unknownProxyType, unspecifiedCompositePKNotSupported, unsupportedCascadeLockingDescriptor, unsupportedCascadeLockingMapping, unsupportedCascadeLockingMappingWithCustomQuery, vpdNotSupported, writeChangesOnNestedUnitOfWork, writeObjectNotAllowedInUnitOfWork, writeTransformerClassDoesntImplementFieldTransformer, writeTransformerHasBothClassAndMethod, writeTransformerHasNeitherClassNorMethod, writeTransformerHasNoColumnName, wrongChangeEvent, wrongCollectionChangeEventType, wrongObjectRegistered, wrongPropertyNameInChangeEvent, wrongSequenceType, wrongUsageOfSetCustomArgumentTypeMethod
Methods inherited from class org.eclipse.persistence.exceptions.EclipseLinkException
cr, getErrorCode, getIndentationString, getInternalException, getSession, getUnformattedMessage, hasBeenLogged, printStackTrace, printStackTrace, printStackTrace, setErrorCode, setHasBeenLogged, setIndentationString, setInternalException, setSession, setShouldPrintInternalException, shouldPrintInternalException, toString
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getStackTrace, getSuppressed, initCause, setStackTrace
-
Field Details
-
query
-
queryArguments
protected transient org.eclipse.persistence.internal.sessions.AbstractRecord queryArguments -
ADDITIONAL_SIZE_QUERY_NOT_SPECIFIED
public static final int ADDITIONAL_SIZE_QUERY_NOT_SPECIFIED- See Also:
-
AGGREGATE_OBJECT_CANNOT_BE_DELETED
public static final int AGGREGATE_OBJECT_CANNOT_BE_DELETED- See Also:
-
ARGUMENT_SIZE_MISMATCH_IN_QUERY_AND_QUERY_DEFINITION
public static final int ARGUMENT_SIZE_MISMATCH_IN_QUERY_AND_QUERY_DEFINITION- See Also:
-
BACKUP_CLONE_IS_ORIGINAL_FROM_PARENT
public static final int BACKUP_CLONE_IS_ORIGINAL_FROM_PARENT- See Also:
-
BACKUP_CLONE_IS_ORIGINAL_FROM_SELF
public static final int BACKUP_CLONE_IS_ORIGINAL_FROM_SELF- See Also:
-
BATCH_READING_NOT_SUPPORTED
public static final int BATCH_READING_NOT_SUPPORTED- See Also:
-
DESCRIPTOR_IS_MISSING
public static final int DESCRIPTOR_IS_MISSING- See Also:
-
DESCRIPTOR_IS_MISSING_FOR_NAMED_QUERY
public static final int DESCRIPTOR_IS_MISSING_FOR_NAMED_QUERY- See Also:
-
INCORRECT_SIZE_QUERY_FOR_CURSOR_STREAM
public static final int INCORRECT_SIZE_QUERY_FOR_CURSOR_STREAM- See Also:
-
INVALID_QUERY
public static final int INVALID_QUERY- See Also:
-
INVALID_QUERY_KEY_IN_EXPRESSION
public static final int INVALID_QUERY_KEY_IN_EXPRESSION- See Also:
-
INVALID_QUERY_ON_SERVER_SESSION
public static final int INVALID_QUERY_ON_SERVER_SESSION- See Also:
-
NO_CONCRETE_CLASS_INDICATED
public static final int NO_CONCRETE_CLASS_INDICATED- See Also:
-
NO_CURSOR_SUPPORT
public static final int NO_CURSOR_SUPPORT- See Also:
-
OBJECT_TO_INSERT_IS_EMPTY
public static final int OBJECT_TO_INSERT_IS_EMPTY- See Also:
-
OBJECT_TO_MODIFY_NOT_SPECIFIED
public static final int OBJECT_TO_MODIFY_NOT_SPECIFIED- See Also:
-
QUERY_NOT_DEFINED
public static final int QUERY_NOT_DEFINED- See Also:
-
QUERY_SENT_TO_INACTIVE_UNIT_OF_WORK
public static final int QUERY_SENT_TO_INACTIVE_UNIT_OF_WORK- See Also:
-
READ_BEYOND_QUERY
public static final int READ_BEYOND_QUERY- See Also:
-
REFERENCE_CLASS_MISSING
public static final int REFERENCE_CLASS_MISSING- See Also:
-
REFRESH_NOT_POSSIBLE_WITHOUT_CACHE
public static final int REFRESH_NOT_POSSIBLE_WITHOUT_CACHE- See Also:
-
SIZE_ONLY_SUPPORTED_ON_EXPRESSION_QUERIES
public static final int SIZE_ONLY_SUPPORTED_ON_EXPRESSION_QUERIES- See Also:
-
SQL_STATEMENT_NOT_SET_PROPERLY
public static final int SQL_STATEMENT_NOT_SET_PROPERLY- See Also:
-
INVALID_QUERY_ITEM
public static final int INVALID_QUERY_ITEM- See Also:
-
SELECTION_OBJECT_CANNOT_BE_NULL
public static final int SELECTION_OBJECT_CANNOT_BE_NULL- See Also:
-
UNNAMED_QUERY_ON_SESSION_BROKER
public static final int UNNAMED_QUERY_ON_SESSION_BROKER- See Also:
-
REPORT_RESULT_WITHOUT_PKS
public static final int REPORT_RESULT_WITHOUT_PKS- See Also:
-
NULL_PRIMARY_KEY_IN_BUILDING_OBJECT
public static final int NULL_PRIMARY_KEY_IN_BUILDING_OBJECT- See Also:
-
NO_DESCRIPTOR_FOR_SUBCLASS
public static final int NO_DESCRIPTOR_FOR_SUBCLASS- See Also:
-
CANNOT_DELETE_READ_ONLY_OBJECT
public static final int CANNOT_DELETE_READ_ONLY_OBJECT- See Also:
-
INVALID_OPERATOR
public static final int INVALID_OPERATOR- See Also:
-
ILLEGAL_USE_OF_GETFIELD
public static final int ILLEGAL_USE_OF_GETFIELD- See Also:
-
ILLEGAL_USE_OF_GETTABLE
public static final int ILLEGAL_USE_OF_GETTABLE- See Also:
-
REPORT_QUERY_RESULT_SIZE_MISMATCH
public static final int REPORT_QUERY_RESULT_SIZE_MISMATCH- See Also:
-
CANNOT_CACHE_PARTIAL_OBJECT
public static final int CANNOT_CACHE_PARTIAL_OBJECT- See Also:
-
OUTER_JOIN_ONLY_VALID_FOR_ONE_TO_ONE
public static final int OUTER_JOIN_ONLY_VALID_FOR_ONE_TO_ONE- See Also:
-
CANNOT_ADD_TO_CONTAINER
public static final int CANNOT_ADD_TO_CONTAINER- See Also:
-
METHOD_INVOCATION_FAILED
public static final int METHOD_INVOCATION_FAILED- See Also:
-
CANNOT_CREATE_CLONE
public static final int CANNOT_CREATE_CLONE- See Also:
-
METHOD_NOT_VALID
public static final int METHOD_NOT_VALID- See Also:
-
METHOD_DOES_NOT_EXIST_IN_CONTAINER_CLASS
public static final int METHOD_DOES_NOT_EXIST_IN_CONTAINER_CLASS- See Also:
-
COULD_NOT_INSTANTIATE_CONTAINER_CLASS
public static final int COULD_NOT_INSTANTIATE_CONTAINER_CLASS- See Also:
-
MAP_KEY_NOT_COMPARABLE
public static final int MAP_KEY_NOT_COMPARABLE- See Also:
-
CANNOT_ACCESS_METHOD_ON_OBJECT
public static final int CANNOT_ACCESS_METHOD_ON_OBJECT- See Also:
-
CALLED_METHOD_THREW_EXCEPTION
public static final int CALLED_METHOD_THREW_EXCEPTION- See Also:
-
INVALID_OPERATION
public static final int INVALID_OPERATION- See Also:
-
CANNOT_REMOVE_FROM_CONTAINER
public static final int CANNOT_REMOVE_FROM_CONTAINER- See Also:
-
CANNOT_ADD_ELEMENT
public static final int CANNOT_ADD_ELEMENT- See Also:
-
BACKUP_CLONE_DELETED
public static final int BACKUP_CLONE_DELETED- See Also:
-
CANNOT_ACCESS_FIELD_ON_OBJECT
public static final int CANNOT_ACCESS_FIELD_ON_OBJECT- See Also:
-
CANNOT_COMPARE_TABLES_IN_EXPRESSION
public static final int CANNOT_COMPARE_TABLES_IN_EXPRESSION- See Also:
-
INVALID_TABLE_FOR_FIELD_IN_EXPRESSION
public static final int INVALID_TABLE_FOR_FIELD_IN_EXPRESSION- See Also:
-
INVALID_USE_OF_TO_MANY_QUERY_KEY_IN_EXPRESSION
public static final int INVALID_USE_OF_TO_MANY_QUERY_KEY_IN_EXPRESSION- See Also:
-
INVALID_USE_OF_ANY_OF_IN_EXPRESSION
public static final int INVALID_USE_OF_ANY_OF_IN_EXPRESSION- See Also:
-
CANNOT_QUERY_ACROSS_VARIABLE_ONE_TO_ONE_MAPPING
public static final int CANNOT_QUERY_ACROSS_VARIABLE_ONE_TO_ONE_MAPPING- See Also:
-
ILL_FORMED_EXPRESSION
public static final int ILL_FORMED_EXPRESSION- See Also:
-
CANNOT_CONFORM_EXPRESSION
public static final int CANNOT_CONFORM_EXPRESSION- See Also:
-
INVALID_OPERATOR_FOR_OBJECT_EXPRESSION
public static final int INVALID_OPERATOR_FOR_OBJECT_EXPRESSION- See Also:
-
UNSUPPORTED_MAPPING_FOR_OBJECT_COMPARISON
public static final int UNSUPPORTED_MAPPING_FOR_OBJECT_COMPARISON- See Also:
-
OBJECT_COMPARISON_CANNOT_BE_PARAMETERIZED
public static final int OBJECT_COMPARISON_CANNOT_BE_PARAMETERIZED- See Also:
-
INCORRECT_CLASS_FOR_OBJECT_COMPARISON
public static final int INCORRECT_CLASS_FOR_OBJECT_COMPARISON- See Also:
-
CANNOT_COMPARE_TARGET_FOREIGN_KEYS_TO_NULL
public static final int CANNOT_COMPARE_TARGET_FOREIGN_KEYS_TO_NULL- See Also:
-
INVALID_DATABASE_CALL
public static final int INVALID_DATABASE_CALL- See Also:
-
INVALID_DATABASE_ACCESSOR
public static final int INVALID_DATABASE_ACCESSOR- See Also:
-
METHOD_DOES_NOT_EXIST_ON_EXPRESSION
public static final int METHOD_DOES_NOT_EXIST_ON_EXPRESSION- See Also:
-
IN_CANNOT_BE_PARAMETERIZED
public static final int IN_CANNOT_BE_PARAMETERIZED- See Also:
-
REDIRECTION_CLASS_OR_METHOD_NOT_SET
public static final int REDIRECTION_CLASS_OR_METHOD_NOT_SET- See Also:
-
REDIRECTION_METHOD_NOT_DEFINED_CORRECTLY
public static final int REDIRECTION_METHOD_NOT_DEFINED_CORRECTLY- See Also:
-
REDIRECTION_METHOD_ERROR
public static final int REDIRECTION_METHOD_ERROR- See Also:
-
EXAMPLE_AND_REFERENCE_OBJECT_CLASS_MISMATCH
public static final int EXAMPLE_AND_REFERENCE_OBJECT_CLASS_MISMATCH- See Also:
-
NO_ATTRIBUTES_FOR_REPORT_QUERY
public static final int NO_ATTRIBUTES_FOR_REPORT_QUERY- See Also:
-
NO_EXPRESSION_BUILDER_CLASS_FOUND
public static final int NO_EXPRESSION_BUILDER_CLASS_FOUND- See Also:
-
CANNOT_SET_REPORT_QUERY_TO_CHECK_CACHE_ONLY
public static final int CANNOT_SET_REPORT_QUERY_TO_CHECK_CACHE_ONLY- See Also:
-
TYPE_MISMATCH_BETWEEN_ATTRIBUTE_AND_CONSTANT_ON_EXPRESSION
public static final int TYPE_MISMATCH_BETWEEN_ATTRIBUTE_AND_CONSTANT_ON_EXPRESSION- See Also:
-
MUST_INSTANTIATE_VALUEHOLDERS
public static final int MUST_INSTANTIATE_VALUEHOLDERS- See Also:
-
INVALID_TYPE_EXPRESSION
public static final int INVALID_TYPE_EXPRESSION- See Also:
-
PARAMETER_NAME_MISMATCH
public static final int PARAMETER_NAME_MISMATCH- See Also:
-
CLONE_METHOD_REQUIRED
public static final int CLONE_METHOD_REQUIRED- See Also:
-
CLONE_METHOD_INACCESSIBLE
public static final int CLONE_METHOD_INACCESSIBLE- See Also:
-
CLONE_METHOD_THORW_EXCEPTION
public static final int CLONE_METHOD_THORW_EXCEPTION- See Also:
-
UNEXPECTED_INVOCATION
public static final int UNEXPECTED_INVOCATION- See Also:
-
JOINING_ACROSS_INHERITANCE_WITH_MULTIPLE_TABLES
public static final int JOINING_ACROSS_INHERITANCE_WITH_MULTIPLE_TABLES- See Also:
-
MULTIPLE_ROWS_DETECTED_FROM_SINGLE_OBJECT_READ
public static final int MULTIPLE_ROWS_DETECTED_FROM_SINGLE_OBJECT_READ- See Also:
-
HISTORICAL_QUERIES_MUST_PRESERVE_GLOBAL_CACHE
public static final int HISTORICAL_QUERIES_MUST_PRESERVE_GLOBAL_CACHE- See Also:
-
HISTORICAL_QUERIES_ONLY_SUPPORTED_ON_ORACLE
public static final int HISTORICAL_QUERIES_ONLY_SUPPORTED_ON_ORACLE- See Also:
-
INVALID_QUERY_ON_HISTORICAL_SESSION
public static final int INVALID_QUERY_ON_HISTORICAL_SESSION- See Also:
-
OBJECT_DOES_NOT_EXIST_IN_CACHE
public static final int OBJECT_DOES_NOT_EXIST_IN_CACHE- See Also:
-
MUST_USE_CURSOR_STREAM_POLICY
public static final int MUST_USE_CURSOR_STREAM_POLICY- See Also:
-
CLASS_PK_DOES_NOT_EXIST_IN_CACHE
public static final int CLASS_PK_DOES_NOT_EXIST_IN_CACHE- See Also:
-
UPDATE_STATEMENTS_NOT_SPECIFIED
public static final int UPDATE_STATEMENTS_NOT_SPECIFIED- See Also:
-
INHERITANCE_WITH_MULTIPLE_TABLES_NOT_SUPPORTED
public static final int INHERITANCE_WITH_MULTIPLE_TABLES_NOT_SUPPORTED- See Also:
-
QUERY_FETCHGROUP_NOT_DEFINED_IN_DESCRIPTOR
public static final int QUERY_FETCHGROUP_NOT_DEFINED_IN_DESCRIPTOR- See Also:
-
CANNOT_CONFORM_UNFETCHED_ATTRIBUTE
public static final int CANNOT_CONFORM_UNFETCHED_ATTRIBUTE- See Also:
-
FETCH_GROUP_ATTRIBUTE_NOT_MAPPED
public static final int FETCH_GROUP_ATTRIBUTE_NOT_MAPPED- See Also:
-
FETCH_GROUP_NOT_SUPPORT_ON_REPORT_QUERY
public static final int FETCH_GROUP_NOT_SUPPORT_ON_REPORT_QUERY- See Also:
-
FETCH_GROUP_NOT_SUPPORT_ON_PARTIAL_ATTRIBUTE_READING
public static final int FETCH_GROUP_NOT_SUPPORT_ON_PARTIAL_ATTRIBUTE_READING- See Also:
-
FETCHGROUP_VALID_ONLY_IF_FETCHGROUP_MANAGER_IN_DESCRIPTOR
public static final int FETCHGROUP_VALID_ONLY_IF_FETCHGROUP_MANAGER_IN_DESCRIPTOR- See Also:
-
ISOLATED_QUERY_EXECUTED_ON_SERVER_SESSION
public static final int ISOLATED_QUERY_EXECUTED_ON_SERVER_SESSION- See Also:
-
NO_CALL_OR_INTERACTION_SPECIFIED
public static final int NO_CALL_OR_INTERACTION_SPECIFIED- See Also:
-
CANNOT_CACHE_CURSOR_RESULTS_ON_QUERY
public static final int CANNOT_CACHE_CURSOR_RESULTS_ON_QUERY- See Also:
-
CANNOT_CACHE_ISOLATED_DATA_ON_QUERY
public static final int CANNOT_CACHE_ISOLATED_DATA_ON_QUERY- See Also:
-
MAPPING_FOR_EXPRESSION_DOES_NOT_SUPPORT_JOINING
public static final int MAPPING_FOR_EXPRESSION_DOES_NOT_SUPPORT_JOINING- See Also:
-
SPECIFIED_PARTIAL_ATTRIBUTE_DOES_NOT_EXIST
public static final int SPECIFIED_PARTIAL_ATTRIBUTE_DOES_NOT_EXIST- See Also:
-
INVALID_BUILDER_IN_QUERY
public static final int INVALID_BUILDER_IN_QUERY- See Also:
-
INVALID_EXPRESSION
public static final int INVALID_EXPRESSION- See Also:
-
INVALID_CONTAINER_CLASS
public static final int INVALID_CONTAINER_CLASS- See Also:
-
INCORRECT_QUERY_FOUND
public static final int INCORRECT_QUERY_FOUND- See Also:
-
CLEAR_QUERY_RESULTS_NOT_SUPPORTED
public static final int CLEAR_QUERY_RESULTS_NOT_SUPPORTED- See Also:
-
CANNOT_CONFORM_AND_CACHE_QUERY_RESULTS
public static final int CANNOT_CONFORM_AND_CACHE_QUERY_RESULTS- See Also:
-
REFLECTIVE_CALL_ON_TOPLINK_CLASS_FAILED
public static final int REFLECTIVE_CALL_ON_TOPLINK_CLASS_FAILED- See Also:
-
BATCH_READING_NOT_SUPPORTED_WITH_CALL
public static final int BATCH_READING_NOT_SUPPORTED_WITH_CALL- See Also:
-
REFRESH_NOT_POSSIBLE_WITH_CHECK_CACHE_ONLY
public static final int REFRESH_NOT_POSSIBLE_WITH_CHECK_CACHE_ONLY- See Also:
-
DISCRIMINATOR_COLUMN_NOT_SELECTED
public static final int DISCRIMINATOR_COLUMN_NOT_SELECTED- See Also:
-
DELETE_ALL_QUERY_SPECIFIES_OBJECTS_BUT_NOT_SELECTION_CRITERIA
public static final int DELETE_ALL_QUERY_SPECIFIES_OBJECTS_BUT_NOT_SELECTION_CRITERIA- See Also:
-
NAMED_ARGUMENT_NOT_FOUND_IN_QUERY_PARAMETERS
public static final int NAMED_ARGUMENT_NOT_FOUND_IN_QUERY_PARAMETERS- See Also:
-
UPDATE_ALL_QUERY_ADD_UPDATE_FIELD_IS_NULL
public static final int UPDATE_ALL_QUERY_ADD_UPDATE_FIELD_IS_NULL- See Also:
-
UPDATE_ALL_QUERY_ADD_UPDATE_DOES_NOT_DEFINE_FIELD
public static final int UPDATE_ALL_QUERY_ADD_UPDATE_DOES_NOT_DEFINE_FIELD- See Also:
-
UPDATE_ALL_QUERY_ADD_UPDATE_DEFINES_WRONG_FIELD
public static final int UPDATE_ALL_QUERY_ADD_UPDATE_DEFINES_WRONG_FIELD- See Also:
-
POLYMORPHIC_REPORT_ITEM_NOT_SUPPORTED
public static final int POLYMORPHIC_REPORT_ITEM_NOT_SUPPORTED- See Also:
-
EXCEPTION_WHILE_USING_CONSTRUCTOR_EXPRESSION
public static final int EXCEPTION_WHILE_USING_CONSTRUCTOR_EXPRESSION- See Also:
-
TEMP_TABLES_NOT_SUPPORTED
public static final int TEMP_TABLES_NOT_SUPPORTED- See Also:
-
MAPPING_FOR_FIELDRESULT_NOT_FOUND
public static final int MAPPING_FOR_FIELDRESULT_NOT_FOUND- See Also:
-
JOIN_EXPRESSIONS_NOT_APPLICABLE_ON_NON_OBJECT_REPORT_ITEM
public static final int JOIN_EXPRESSIONS_NOT_APPLICABLE_ON_NON_OBJECT_REPORT_ITEM- See Also:
-
CLASS_NOT_FOUND_WHILE_USING_QUERY_HINT
public static final int CLASS_NOT_FOUND_WHILE_USING_QUERY_HINT- See Also:
-
QUERY_HINT_NAVIGATED_ILLEGAL_RELATIONSHIP
public static final int QUERY_HINT_NAVIGATED_ILLEGAL_RELATIONSHIP- See Also:
-
QUERY_HINT_NAVIGATED_NON_EXISTANT_RELATIONSHIP
public static final int QUERY_HINT_NAVIGATED_NON_EXISTANT_RELATIONSHIP- See Also:
-
QUERY_HINT_DID_NOT_CONTAIN_ENOUGH_TOKENS
public static final int QUERY_HINT_DID_NOT_CONTAIN_ENOUGH_TOKENS- See Also:
-
DISTINCT_COUNT_ON_OUTER_JOINED_COMPOSITE_PK
public static final int DISTINCT_COUNT_ON_OUTER_JOINED_COMPOSITE_PK- See Also:
-
QUERY_HINT_CONTAINED_INVALID_INTEGER_VALUE
public static final int QUERY_HINT_CONTAINED_INVALID_INTEGER_VALUE- See Also:
-
EXPRESSION_DOES_NOT_SUPPORT_PARTIAL_ATTRIBUTE_READING
public static final int EXPRESSION_DOES_NOT_SUPPORT_PARTIAL_ATTRIBUTE_READING- See Also:
-
ADD_ARGS_NOT_SUPPORTED
public static final int ADD_ARGS_NOT_SUPPORTED- See Also:
-
UNNAMED_ARG_NOT_SUPPORTED
public static final int UNNAMED_ARG_NOT_SUPPORTED- See Also:
-
MAP_KEY_IS_NULL
public static final int MAP_KEY_IS_NULL- See Also:
-
UNABLE_TO_SET_REDIRECTOR_FROM_HINT
public static final int UNABLE_TO_SET_REDIRECTOR_FROM_HINT- See Also:
-
ERROR_INSTANTIATING_CLASS_FOR_QUERY_HINT
public static final int ERROR_INSTANTIATING_CLASS_FOR_QUERY_HINT- See Also:
-
COMPATIBLE_TYPE_NOT_SET
public static final int COMPATIBLE_TYPE_NOT_SET- See Also:
-
TYPE_NAME_NOT_SET
public static final int TYPE_NAME_NOT_SET- See Also:
-
NO_RELATION_TABLE_IN_MANY_TO_MANY_QUERY_KEY
public static final int NO_RELATION_TABLE_IN_MANY_TO_MANY_QUERY_KEY- See Also:
-
EXCEPTION_WHILE_READING_MAP_KEY
public static final int EXCEPTION_WHILE_READING_MAP_KEY- See Also:
-
CANNOT_ADD_ELEMENT_WITHOUT_KEY_TO_MAP
public static final int CANNOT_ADD_ELEMENT_WITHOUT_KEY_TO_MAP- See Also:
-
CANNOT_UNWRAP_NON_MAP_MEMBERS
public static final int CANNOT_UNWRAP_NON_MAP_MEMBERS- See Also:
-
NO_MAPPING_FOR_MAP_ENTRY_EXPRESSION
public static final int NO_MAPPING_FOR_MAP_ENTRY_EXPRESSION- See Also:
-
MAP_ENTRY_EXPRESSION_FOR_NON_COLLECTION
public static final int MAP_ENTRY_EXPRESSION_FOR_NON_COLLECTION- See Also:
-
MAP_ENTRY_EXPRESSION_FOR_NON_MAP
public static final int MAP_ENTRY_EXPRESSION_FOR_NON_MAP- See Also:
-
LIST_ORDER_FIELD_WRONG_VALUE
public static final int LIST_ORDER_FIELD_WRONG_VALUE- See Also:
-
INDEX_REQUIRES_QUERY_KEY_EXPRESSION
public static final int INDEX_REQUIRES_QUERY_KEY_EXPRESSION- See Also:
-
INDEX_REQUIRES_COLLECTION_MAPPING_WITH_LIST_ORDER_FIELD
public static final int INDEX_REQUIRES_COLLECTION_MAPPING_WITH_LIST_ORDER_FIELD- See Also:
-
BATCH_IN_REQUIRES_SINGLETON_PK
public static final int BATCH_IN_REQUIRES_SINGLETON_PK- See Also:
-
COULD_NOT_FIND_CAST_DESCRIPTOR
public static final int COULD_NOT_FIND_CAST_DESCRIPTOR- See Also:
-
CAST_MUST_USE_INHERITANCE
public static final int CAST_MUST_USE_INHERITANCE- See Also:
-
PREPARE_FAILED
public static final int PREPARE_FAILED- See Also:
-
ORIGINAL_QUERY_MUST_USE_IN
public static final int ORIGINAL_QUERY_MUST_USE_IN- See Also:
-
PARTIONING_NOT_SUPPORTED
public static final int PARTIONING_NOT_SUPPORTED- See Also:
-
MISSING_CONNECTION_POOL
public static final int MISSING_CONNECTION_POOL- See Also:
-
FAILOVER_FAILED
public static final int FAILOVER_FAILED- See Also:
-
MISSING_CONTEXT_PROPERTY_FOR_PROPERTY_PARAMETER_EXPRESSION
public static final int MISSING_CONTEXT_PROPERTY_FOR_PROPERTY_PARAMETER_EXPRESSION- See Also:
-
NATIVE_SQL_QUERIES_ARE_DISABLED
public static final int NATIVE_SQL_QUERIES_ARE_DISABLED- See Also:
-
EXCEPTION_WHILE_LOADING_CONSTRUCTOR
public static final int EXCEPTION_WHILE_LOADING_CONSTRUCTOR- See Also:
-
COLUMN_RESULT_NOT_FOUND
public static final int COLUMN_RESULT_NOT_FOUND- See Also:
-
RESULT_SET_ACCESS_OPTIMIZATION_IS_NOT_POSSIBLE
public static final int RESULT_SET_ACCESS_OPTIMIZATION_IS_NOT_POSSIBLE- See Also:
-
SOP_OBJECT_DESERIALIZE_FAILED
public static final int SOP_OBJECT_DESERIALIZE_FAILED- See Also:
-
SOP_OBJECT_IS_NOT_FOUND
public static final int SOP_OBJECT_IS_NOT_FOUND- See Also:
-
SOP_OBJECT_WRONG_VERSION
public static final int SOP_OBJECT_WRONG_VERSION- See Also:
-
SOP_OBJECT_WRONG_PK
public static final int SOP_OBJECT_WRONG_PK- See Also:
-
UNSUPPORTED_MAPPING_FOR_QUERYBYEXAMPLE
public static final int UNSUPPORTED_MAPPING_FOR_QUERYBYEXAMPLE- See Also:
-
-
Constructor Details
-
QueryException
INTERNAL: Constructor. -
QueryException
INTERNAL: Constructor. -
QueryException
INTERNAL: Constructor.
-
-
Method Details
-
additionalSizeQueryNotSpecified
-
aggregateObjectCannotBeDeletedOrWritten
public static QueryException aggregateObjectCannotBeDeletedOrWritten(ClassDescriptor descriptor, DatabaseQuery query) -
argumentSizeMismatchInQueryAndQueryDefinition
-
missingContextPropertyForPropertyParameterExpression
public static QueryException missingContextPropertyForPropertyParameterExpression(DatabaseQuery query, String argumentName) -
namedArgumentNotFoundInQueryParameters
-
nativeSQLQueriesAreDisabled
-
backupCloneIsDeleted
-
backupCloneIsOriginalFromParent
-
backupCloneIsOriginalFromSelf
-
batchReadingNotSupported
-
batchReadingNotSupported
-
calledMethodThrewException
public static QueryException calledMethodThrewException(Method aMethod, Object object, Exception ex) -
cannotAccessFieldOnObject
-
cannotAccessMethodOnObject
-
cannotAddElement
-
cannotAddToContainer
public static QueryException cannotAddToContainer(Object anObject, Object aContainer, org.eclipse.persistence.internal.queries.ContainerPolicy policy) -
cannotCacheCursorResultsOnQuery
-
cannotCacheIsolatedDataOnQuery
-
cannotCachePartialObjects
-
cannotCompareTablesInExpression
-
cannotCompareTargetForeignKeysToNull
public static QueryException cannotCompareTargetForeignKeysToNull(Expression expression, Object value, DatabaseMapping mapping) -
cannotConformAndCacheQueryResults
-
cannotConformExpression
-
cannotCreateClone
public static QueryException cannotCreateClone(org.eclipse.persistence.internal.queries.ContainerPolicy policy, Object anObject) -
cannotDeleteReadOnlyObject
-
cannotQueryAcrossAVariableOneToOneMapping
public static QueryException cannotQueryAcrossAVariableOneToOneMapping(DatabaseMapping mapping, ClassDescriptor descriptor) -
cannotRemoveFromContainer
public static QueryException cannotRemoveFromContainer(Object anObject, Object aContainer, org.eclipse.persistence.internal.queries.ContainerPolicy policy) -
cannotSetShouldCheckCacheOnlyOnReportQuery
-
couldNotInstantiateContainerClass
-
descriptorIsMissing
-
descriptorIsMissingForNamedQuery
-
discriminatorColumnNotSelected
public static QueryException discriminatorColumnNotSelected(String expectedColumn, String sqlResultSetMapping) -
exampleAndReferenceObjectClassMismatch
public static QueryException exampleAndReferenceObjectClassMismatch(Class exampleObjectClass, Class referenceObjectClass, DatabaseQuery query) Oct 18, 2000 JED Added this method and exception value -
exceptionWhileInitializingConstructor
public static QueryException exceptionWhileInitializingConstructor(Exception thrownException, DatabaseQuery query, Class targetClass) An exception was thrown while initializing the constructor from the class. -
exceptionWhileUsingConstructorExpression
public static QueryException exceptionWhileUsingConstructorExpression(Exception thrownException, DatabaseQuery query) An exception was throwing while using a ReportQuery with a constructor expression -
getMessage
PUBLIC: Return the exception error message. TopLink error messages are multi-line so that detail descriptions of the exception are given.- Overrides:
getMessage
in classEclipseLinkException
-
getQuery
PUBLIC: Return the query in which the problem was detected. -
getQueryArgumentsRecord
PUBLIC: Return the query argements used in the original query when exception is thrown -
illegalUseOfGetField
-
illegalUseOfGetTable
-
illFormedExpression
-
inCannotBeParameterized
-
incorrectClassForObjectComparison
public static QueryException incorrectClassForObjectComparison(Expression expression, Object value, DatabaseMapping mapping) -
incorrectSizeQueryForCursorStream
-
incorrectQueryObjectFound
public static QueryException incorrectQueryObjectFound(DatabaseQuery query, Class expectedQueryClass) -
invalidContainerClass
-
invalidDatabaseAccessor
public static QueryException invalidDatabaseAccessor(org.eclipse.persistence.internal.databaseaccess.Accessor accessor) -
invalidDatabaseCall
-
invalidExpressionForQueryItem
public static QueryException invalidExpressionForQueryItem(Expression expression, DatabaseQuery owner) -
invalidOperation
-
invalidOperator
-
invalidOperatorForObjectComparison
-
invalidQuery
-
invalidBuilderInQuery
-
invalidQueryKeyInExpression
-
invalidExpression
-
mappingForExpressionDoesNotSupportJoining
-
mappingForFieldResultNotFound
public static QueryException mappingForFieldResultNotFound(String[] attributeNames, int currentString) -
invalidQueryOnHistoricalSession
-
invalidQueryOnServerSession
-
invalidTableForFieldInExpression
-
invalidTypeExpression
-
invalidUseOfAnyOfInExpression
-
joinExpressionsNotApplicableOnNonObjectReportItem
public static QueryException joinExpressionsNotApplicableOnNonObjectReportItem(String expressionType, String itemName) -
joiningAcrossInheritanceClassWithMultipleTablesNotSupported
public static QueryException joiningAcrossInheritanceClassWithMultipleTablesNotSupported(DatabaseQuery query, Class joinClass) -
invalidUseOfToManyQueryKeyInExpression
-
isolatedQueryExecutedOnServerSession
-
mapKeyIsNull
-
mapKeyNotComparable
-
methodDoesNotExistInContainerClass
-
methodDoesNotExistOnExpression
-
methodInvocationFailed
-
methodNotValid
-
mustInstantiateValueholders
-
noAttributesForReportQuery
Oct 19, 2000 JED Added this method and exception value -
noConcreteClassIndicated
public static QueryException noConcreteClassIndicated(org.eclipse.persistence.internal.sessions.AbstractRecord row, DatabaseQuery query) -
noCallOrInteractionSpecified
-
noCursorSupport
-
noDescriptorForClassFromInheritancePolicy
public static QueryException noDescriptorForClassFromInheritancePolicy(DatabaseQuery query, Class referenceClass) -
noExpressionBuilderFound
-
nullPrimaryKeyInBuildingObject
public static QueryException nullPrimaryKeyInBuildingObject(DatabaseQuery query, org.eclipse.persistence.internal.sessions.AbstractRecord databaseRow) -
objectComparisonsCannotBeParameterized
-
objectDoesNotExistInCache
-
classPkDoesNotExistInCache
-
clearQueryResultsNotSupported
-
objectToInsertIsEmpty
public static QueryException objectToInsertIsEmpty(org.eclipse.persistence.internal.helper.DatabaseTable table) -
objectToModifyNotSpecified
-
outerJoinIsOnlyValidForOneToOneMappings
-
queryNotDefined
-
queryNotDefined
-
queryNotDefined
-
querySentToInactiveUnitOfWork
-
readBeyondStream
-
redirectionClassOrMethodNotSet
-
unableToSetRedirectorOnQueryFromHint
public static QueryException unableToSetRedirectorOnQueryFromHint(DatabaseQuery query, String hint, String redirectorClass, Exception ex) -
redirectionMethodError
-
redirectionMethodNotDefinedCorrectly
public static QueryException redirectionMethodNotDefinedCorrectly(Class methodClass, String methodName, Exception exception, DatabaseQuery query) -
referenceClassMissing
-
refreshNotPossibleWithoutCache
-
reportQueryResultSizeMismatch
-
reportQueryResultWithoutPKs
-
parameterNameMismatch
-
polymorphicReportItemWithMultipletableNotSupported
public static QueryException polymorphicReportItemWithMultipletableNotSupported(String itemName, Expression expression, DatabaseQuery owner) -
selectionObjectCannotBeNull
-
setQuery
INTERNAL: Set the query in which the problem was detected. -
setQueryArguments
public void setQueryArguments(org.eclipse.persistence.internal.sessions.AbstractRecord queryArguments) INTERNAL: Set the query argements used in the original query when exception is thrown -
sizeOnlySupportedOnExpressionQueries
-
specifiedPartialAttributeDoesNotExist
public static QueryException specifiedPartialAttributeDoesNotExist(DatabaseQuery query, String attributeName, String targetClassName) -
sqlStatementNotSetProperly
-
typeMismatchBetweenAttributeAndConstantOnExpression
public static QueryException typeMismatchBetweenAttributeAndConstantOnExpression(Class constantClass, Class attributeClass) -
unnamedQueryOnSessionBroker
-
unsupportedMappingForObjectComparison
public static QueryException unsupportedMappingForObjectComparison(DatabaseMapping mapping, Expression expression) -
updateStatementsNotSpecified
-
inheritanceWithMultipleTablesNotSupported
-
cloneMethodRequired
-
cloneMethodInaccessible
-
cloneMethodThrowException
-
unexpectedInvocation
-
multipleRowsDetectedFromReadObjectQuery
-
historicalQueriesMustPreserveGlobalCache
-
historicalQueriesOnlySupportedOnOracle
-
mustUseCursorStreamPolicy
-
fetchGroupNotDefinedInDescriptor
-
cannotConformUnfetchedAttribute
-
fetchGroupAttributeNotMapped
-
fetchGroupNotSupportOnReportQuery
-
fetchGroupNotSupportOnPartialAttributeReading
-
fetchGroupValidOnlyIfFetchGroupManagerInDescriptor
public static QueryException fetchGroupValidOnlyIfFetchGroupManagerInDescriptor(String descriptorName, String queryName) -
reflectiveCallOnTopLinkClassFailed
-
refreshNotPossibleWithCheckCacheOnly
-
deleteAllQuerySpecifiesObjectsButNotSelectionCriteria
public static QueryException deleteAllQuerySpecifiesObjectsButNotSelectionCriteria(ClassDescriptor descriptor, DatabaseQuery query, String objects) -
updateAllQueryAddUpdateFieldIsNull
-
updateAllQueryAddUpdateDoesNotDefineField
public static QueryException updateAllQueryAddUpdateDoesNotDefineField(ClassDescriptor descriptor, DatabaseQuery query, String attributeNameOrExpression) -
updateAllQueryAddUpdateDefinesWrongField
public static QueryException updateAllQueryAddUpdateDefinesWrongField(ClassDescriptor descriptor, DatabaseQuery query, String attributeNameOrExpression, String wrongField) -
tempTablesNotSupported
-
classNotFoundWhileUsingQueryHint
public static QueryException classNotFoundWhileUsingQueryHint(DatabaseQuery query, Object hintValue, Exception exc) -
queryHintDidNotContainEnoughTokens
public static QueryException queryHintDidNotContainEnoughTokens(DatabaseQuery query, String hintName, Object hintValue) -
distinctCountOnOuterJoinedCompositePK
public static QueryException distinctCountOnOuterJoinedCompositePK(ClassDescriptor descr, DatabaseQuery query) -
queryHintContainedInvalidIntegerValue
public static QueryException queryHintContainedInvalidIntegerValue(String hintName, Object hintValue, Exception e) -
expressionDoesNotSupportPartialAttributeReading
-
addArgumentsNotSupported
-
unnamedArgumentsNotSupported
-
columnResultNotFound
public static QueryException columnResultNotFound(org.eclipse.persistence.internal.helper.DatabaseField dbField) -
compatibleTypeNotSet
public static QueryException compatibleTypeNotSet(org.eclipse.persistence.internal.helper.DatabaseType type) -
typeNameNotSet
public static QueryException typeNameNotSet(org.eclipse.persistence.internal.helper.DatabaseType type) -
errorInstantiatedClassForQueryHint
public static QueryException errorInstantiatedClassForQueryHint(Exception exception, DatabaseQuery query, Class theClass, String hint) -
noRelationTableInManyToManyQueryKey
public static QueryException noRelationTableInManyToManyQueryKey(ManyToManyQueryKey queryKey, Expression expression) -
exceptionWhileReadingMapKey
-
cannotAddElementWithoutKeyToMap
-
cannotUnwrapNonMapMembers
-
noMappingForMapEntryExpression
-
mapEntryExpressionForNonCollection
public static QueryException mapEntryExpressionForNonCollection(Expression baseExpression, DatabaseMapping mapping) -
mapEntryExpressionForNonMap
public static QueryException mapEntryExpressionForNonMap(Expression baseExpression, DatabaseMapping mapping) -
listOrderFieldWrongValue
public static QueryException listOrderFieldWrongValue(DatabaseQuery query, org.eclipse.persistence.internal.helper.DatabaseField field, List wrongOrderValuesList) -
indexRequiresQueryKeyExpression
-
indexRequiresCollectionMappingWithListOrderField
public static QueryException indexRequiresCollectionMappingWithListOrderField(Expression expression, DatabaseMapping mapping) -
batchReadingInRequiresSingletonPrimaryKey
-
couldNotFindCastDescriptor
-
castMustUseInheritance
-
prepareFailed
-
originalQueryMustUseBatchIN
public static QueryException originalQueryMustUseBatchIN(DatabaseMapping mapping, DatabaseQuery query) -
partitioningNotSupported
public static QueryException partitioningNotSupported(org.eclipse.persistence.internal.sessions.AbstractSession session, DatabaseQuery query) -
missingConnectionPool
-
failoverFailed
-
resultSetAccessOptimizationIsNotPossible
-
sopObjectDeserializeFailed
public static QueryException sopObjectDeserializeFailed(DatabaseQuery query, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row, Exception exception) -
sopObjectIsNotFound
public static QueryException sopObjectIsNotFound(DatabaseQuery query, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row) -
sopObjectWrongVersion
public static QueryException sopObjectWrongVersion(DatabaseQuery query, Object sopObjectVersion, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row) -
sopObjectWrongPk
public static QueryException sopObjectWrongPk(DatabaseQuery query, Object sopObjectPk, org.eclipse.persistence.internal.helper.DatabaseField sopField, org.eclipse.persistence.internal.sessions.AbstractRecord row) -
unsupportedMappingQueryByExample
public static QueryException unsupportedMappingQueryByExample(String className, DatabaseMapping databaseMapping)
-