Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Difference between revisions of "EclipseLink Exception Error Reference (ELUG)"

(Optimistic Lock Exceptions (5001 – 5009))
m (Query Exceptions (6001 – 6129))
Line 1,440: Line 1,440:
  
  
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06001: Cursored SQL queries must provide an additional query to retrieve the size of the result set.</span>
 +
: '''Cause''': Additional size-retrieving query was not specified: cursored SQL queries must provide an additional query to retrieve the size of the result set. Failure to include the additional query causes this exception.
 +
: '''Action''': Specify a size query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Configuration
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06002: Aggregated objects cannot be written/deleted/queried independently from their owners. {1}Descriptor: [{0}]</span>
 +
: '''Cause''': An aggregated object was deleted independently of its owner: aggregate objects cannot be written or deleted independent of their owners. No identity is maintained on such objects.
 +
: '''Action''': Do not try to delete aggregate objects directly. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06003: The number of arguments provided to the query for execution does not match the number of arguments in the query definition.</span>
 +
: '''Cause''': The number of arguments provided to the query for execution does not match the number of arguments provided with the query definition.
 +
: '''Action''': Check the query and the query execution. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg"><nowiki>ECLIPSELINK-06004: The object [{0}], of class [{1}], with identity hashcode (System.identityHashCode()) [{2}], {3}is not from this UnitOfWork object space, but the parent session''s. The object was never registered in this UnitOfWork, {3}but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly{3}registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to {3}help debug where the error occurred. For more information, see the manual or FAQ.</nowiki></span>
 +
: '''Cause''': The object clone of class clone.getClass() with identity hash code (System.identityHashCode()) (System.identityHashCode(clone)) is not from this unit of work space, but from the parent session. The object was never registered in this unit of work, but read from the parent session and related to an object registered in the unit of work.
 +
: '''Action''': Verify that you are correctly registering your objects. If you are still having problems, use the validateObjectSpace method of the UnitOfWork to help debug where the error occurred. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06005: The object [{0}], of class [{1}], with identity hashcode (System.identityHashCode()) [{2}], {3}is the original to a registered new object. The UnitOfWork clones registered new objects, so you must ensure that an object {3}is registered before it is referenced by another object. If you do not want the new object to be cloned, use the{3}UnitOfWork.registerNewObject(Object) API. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() {3}method to help debug where the error occurred. For more information, see the manual or FAQ.</span>
 +
: '''Cause''': The object clone of class clone.getClass() with identity hash code (System.identityHashCode()) (System.identityHashCode(clone)) is the original to a registered new object. Because the unit of work clones new objects that are registered, ensure that an object is registered before it is referenced by another object. If you do not want the new object to be cloned, use the registerNewObject(Object) method of the UnitOfWork.
 +
: '''Action''': Verify that you are correctly registering your objects. If you are still having problems, use the validateObjectSpace method of the UnitOfWork to help debug where the error occurred. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06006: The mapping [{0}] does not support batch reading.</span>
 +
: '''Cause''': The mapping that does not support batch reading was used. The optimization of batch reading all the target rows is not supported for the mapping.
 +
: '''Action''': The problem is a TopLink development problem, and you should never encounter this error code unless the mapping is a new custom mapping. Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06007: Missing descriptor for [{0}].</span>
 +
: '''Cause''': The descriptor for the reference class is missing. The descriptor related to the class or the object is not found in the session.
 +
: '''Action''': Verify whether or not the related descriptor was added to the session, and whether or not the query is performed on the right object or class. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Configuration
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06008: Missing descriptor for [{0}] for query named [{1}].</span>
 +
: '''Cause''': The descriptor DomainClassName for the query named queryName is missing. The descriptor where named query is defined is not added to the session.
 +
: '''Action''': Verify whether or not the related descriptor was added to the session, and whether or not the query is performed on the right class. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Configuration
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06013: Incorrect size query given to CursoredStream.</span>
 +
: '''Cause''': The size query given on the queries returning cursor streams is not correct. The execution of the size query did not return any size.
 +
: '''Action''': If the cursor stream query was a custom query, then check the size of the query that was specified, or report this problem to Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Configuration
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06014: Objects cannot be written during a UnitOfWork, they must be registered.</span>
 +
: '''Cause''': Attempt to write an object in a unit of work using modify queries. These objects must be registered.
 +
: '''Action''': Prior to modification, register objects in the unit of work, so during commit the unit of work can perform the required changes to the database. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06015: Invalid query key [{0}] in expression.</span>
 +
: '''Cause''': The query key key does not exist. Usually this happens because of a misspelled query key.
 +
: '''Action''': Check the query key that was specified in the expression and verify that a query key was added to the descriptor. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg"><nowiki>ECLIPSELINK-06016: Objects or the database cannot be changed through a ServerSession. All changes must be done through a ClientSession''s UnitOfWork.</nowiki></span>
 +
: '''Cause''': Attempt to change an object or a database through the server session: all changes must be performed through a client session's unit of work. The objects cannot be changed on the server session by modifying queries. Objects are changed in the client sessions that are acquired from this server session.
 +
: '''Action''': Use the client session's unit of work to change the object. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06020: No concrete class indicated for the type in the row [{0}].</span>
 +
: '''Cause''': No concrete class is indicated for the type in this row. The type indicator read from the database row has no entry in the type indicator hash table or if class extraction method was used, it did not return any concrete class type. The exception is raised when subclasses are being read.
 +
: '''Action''': Check the class extraction method, if specified, or check the descriptor to verify all the type indicator values were specified. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Configuration
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06021: Cursors are not supported for interface descriptors, or abstract class multiple table descriptors using expressions. Consider using custom SQL or multiple queries.</span>
 +
: '''Cause''': No cursor support is provided for abstract class multiple table descriptors using expressions.
 +
: '''Action''': Consider using custom SQL or multiple queries. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06023: The list of fields to insert into the table [{0}] is empty. You must define at least one mapping for this table.</span>
 +
: '''Cause''': There are no fields to be inserted into the table. The fields to insert into the table table, are empty.
 +
: '''Action''': Define at least one mapping for this table. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06024: Modify queries require an object to modify.</span>
 +
: '''Cause''': An object to modify has not been specified for a modify query.
 +
: '''Action''': Verify that the query contains an object before executing. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06026: Query named [{0}] is not defined. Domain class: [{1}]</span>
 +
: '''Cause''': The query is not defined. When executing a query on the session, the parameter that takes the query is null.
 +
: '''Action''': Verify that the query is passed properly. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06027: Query sent to a unactivated UnitOfWork.</span>
 +
: '''Cause''': The unit of work has been released and is now inactive.
 +
: '''Action''': The unit of work, once released, cannot be reused unless the commitAndResume method is called. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06028: An attempt to read beyond the end of stream occurred.</span>
 +
: '''Cause''': Attempt to read from the cursor streams beyond its limits (beyond the end of the stream).
 +
: '''Action''': Ensure that the stream is checked for an end of stream condition before attempting to retrieve more objects. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06029: A reference class must be provided.</span>
 +
: '''Cause''': The reference class in the query is not specified: a reference class must be provided.
 +
: '''Action''': Ensure that the query is correct. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06030: Refreshing is not possible if caching is not enabled.</span>
 +
: '''Cause''': Attempt to refresh while the caching is not set: the read queries that skip the cache to read objects cannot be used to refresh the objects. Refreshing is not possible without identity.
 +
: '''Action''': Ensure that the query is correct. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06031: size() is only supported on expression queries, unless a size query is given.</span>
 +
: '''Cause''': TopLink did not find a size query. Size is supported only on expression queries unless a size query is given.
 +
: '''Action''': The cursor streams on a custom query should also define a size query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06032: The SQL statement has not been properly set.</span>
 +
: '''Cause''': The SQL statement has not been properly set. The user should never encounter this error code unless queries have been customized.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Configuration
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06034: Invalid query item expression [{0}].</span>
 +
: '''Cause''': TopLink is unable to validate a query item expression.
 +
: '''Action''': Validate the expression being used. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06041: The selection object passed to a ReadObjectQuery was null.</span>
 +
: '''Cause''': The selection object that was passed to a ReadObjectQuery (or refresh) was null.
 +
: '''Action''': Check setSelectionObject method on read query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06042: A session name must be specified for non-object-level queries. See the setSessionName(String) method.</span>
 +
: '''Cause''': Data read and data modify queries are being executed without the session name. Only object-level queries can be directly executed by the session broker, unless the query is named.
 +
: '''Action''': Specify the session name. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06043: ReportQueries without primary keys cannot use readObject(). {1}ReportQueryResult: [{0}].</span>
 +
: '''Cause''': Attempt to read the object by a ReportQuery without a primary key: the report query result that was returned is without primary key values. An object from the result can be created only if primary keys were also read.
 +
: '''Action''': See the documentation about retrievePrimaryKeys method on report query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06044: The primary key read from the row [{0}] during the execution of the query was detected to be null. Primary keys must not contain null.</span>
 +
: '''Cause''': The primary key that was read from the row databaseRow during the execution of the query was detected to be null: primary keys must not contain null.
 +
: '''Action''': Check the query and the table on the database. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06045: The subclass [{0}], indicated in the row while building the object, has no descriptor defined for it.</span>
 +
: '''Cause''': The subclass has no descriptor defined for it.
 +
: '''Action''': Ensure the descriptor was added to the session, or check class extraction method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06046: Cannot delete an object of a read-only class. The class [{0}] is declared as read-only in this UnitOfWork.</span>
 +
: '''Cause''': Attempt to delete a read-only class.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06047: Invalid operator [{0}] in expression.</span>
 +
: '''Cause''': The operator used in the expression is not valid.
 +
: '''Action''': Check ExpressionOperator class to see a list of all the operators that are supported. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06048: Illegal use of getField() [{0}] in expression.</span>
 +
: '''Cause''': Invalid use of getField method's data in the expression. This is a TopLink development exception that you should not encounter.
 +
: '''Action''': Report this problem to Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06049: Illegal use of getTable() [{0}] in expression.</span>
 +
: '''Cause''': Invalid use of getTable method's data in the expression. This is a TopLink development exception that you should not encounter.
 +
: '''Action''': Report this problem to Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06050: ReportQuery result size mismatch. Expecting [{0}], but retrieved [{1}]</span>
 +
: '''Cause''': The number of attributes requested does not match the attributes returned from the database in report query. This can happen as a result of a custom query on the report query.
 +
: '''Action''': Check the custom query to ensure it is specified, or report the problem to Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06051: Partial object queries are not allowed to maintain the cache or be edited. You must use dontMaintainCache().</span>
 +
: '''Cause''': Attempt to cache a partial object: partial objects are never put in the cache. Partial object queries are not allowed to maintain the cache or to be edited. Use the dontMaintainCache method.
 +
: '''Action''': Call the dontMaintainCache method before executing the query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06052: An outer join (getAllowingNull or anyOfAllowingNone) is only valid for OneToOne, OneToMany, ManyToMany, AggregateCollection and DirectCollection Mappings, and cannot be used for the mapping [{0}].</span>
 +
: '''Cause''': Invalid use of an outer join: an outer join (getAllowingNull method) is valid only for one-to-one mappings and cannot be used for the mapping.
 +
: '''Action''': Do not attempt to use the getAllowingNull method for mappings other than one-to-one. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06054: Cannot add the object [{0}], of class [{1}], to container class [{2}] using policy [{3}].</span>
 +
: '''Cause''': TopLink is unable to add an object to a container class using policy. This is TopLink development exception, and you should never encounter this problem unless a custom container policy has been written.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06055: The method invocation of the method [{0}] on the object [{1}], of class [{2}], triggered an exception.</span>
 +
: '''Cause''': The invocation of a method on the object anObject threw a Java reflection exception while accessing the method.
 +
: '''Action''': Inspect the internal exception, and refer to the Java documentation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06056: Cannot create a clone of object [{0}], of class [{1}], using [{2}].</span>
 +
: '''Cause''': Attempt to create a clone of the object anObject using policy. This is a TopLink development exception, and you should never encounter this problem unless a custom container policy has been written.
 +
: '''Action''': Report this problem to Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06057: The method [{0}] is not a valid method to call on object [{1}].</span>
 +
: '''Cause''': Invalid call of the method methodName on object aReceiver. This is a TopLink development exception, and you should never encounter this problem unless a custom container policy has been written.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06058: The method [{0}] was not found in class [{1}].</span>
 +
: '''Cause''': The method named methodName was not found in the class aClass. This exception is raised when looking for a clone method on the container class. The clone is needed to create clones of the container in unit of work.
 +
: '''Action''': Define a clone method on the container class. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06059: The class [{0}] cannot be used as the container for the results of a query because it cannot be instantiated.</span>
 +
: '''Cause''': Attempt to instantiate a class aClass as the container for the results of a query-this class cannot be instantiated as a container. The exception is a Java exception that is raised when a new interface container policy is being created using Java reflection. TopLink wraps only the Java exception.
 +
: '''Action''': Inspect the internal exception, and refer to the Java documentation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06060: Could not use object [{0}] of type [{1}] as a key into [{2}] of type [{3}]. The key cannot be compared with the keys currently in the Map.</span>
 +
: '''Cause''': Attempt to use the object anObject of type ObjectClass as a key into aContainer which is of type ContainerClass. The key cannot be compared with the keys currently in the map. This raises a Java reflection exception while accessing the method. TopLink wraps only the Java exception.
 +
: '''Action''': Inspect the internal exception, and refer to the Java documentation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06061: Cannot reflectively access the method [{0}] for object [{1}], of class [{2}].</span>
 +
: '''Cause''': Attempt to reflectively access the method aMethod for object: anObject of type ObjectClass. This raises a Java reflection exception while accessing the method. TopLink wraps only the Java exception.
 +
: '''Action''': Inspect the internal exception, and refer to the Java documentation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06062: The method [{0}], called reflectively on object [{1}], of class [{2}], triggered an exception.</span>
 +
: '''Cause''': The method aMethod was called reflectively on objectClass and threw an exception. The method aMethod raises a Java reflection exception while accessing a method. TopLink wraps only the Java exception.
 +
: '''Action''': Inspect the internal exception, and refer to the Java documentation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06063: Invalid operation [{0}] on cursor.</span>
 +
: '''Cause''': Invalid operation operationName on the cursor. The operation is not supported.
 +
: '''Action''': Check the class documentation and look for the corresponding method to use. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06064: Cannot remove the object [{0}], of class [{1}], from container class [{2}] using policy [{3}].</span>
 +
: '''Cause''': Attempt to remove anObject of type anObjectClass from aContainerClass using policy. This is a TopLink development exception and you should never encounter this problem unless a custom container policy has been written.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06065: Cannot add the object [{0}], of class [{1}], to container [{2}].</span>
 +
: '''Cause''': Attempt to add an element to the collection container policy (cannot add object anObject of type ObjectClass to a ContainerClass).
 +
: '''Action''': Inspect the internal exception, and refer to the Java documentation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06066: The object [{0}], of class [{1}], with identity hashcode (System.identityHashCode()) [{2}], {3}has been deleted, but still has references. Deleted objects cannot be referenced after being deleted. {3}Ensure that you are correctly registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() {3}method to help debug where the error occurred. For more information, see the manual or FAQ.</span>
 +
: '''Cause''': Object references remained after the deletion of the object: the object clone of class clone.getClass with identity hash code (System.identityHashCode()) (System.identityHashCode(clone)) has been deleted, but it still has references.
 +
: '''Action''': Ensure that you are correctly registering your objects. If you are still having problems, use the validateObjectSpace() method of the UnitOfWork to help identify where the error occurred. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06068: Cannot compare table reference to [{0}] in expression.</span>
 +
: '''Cause''': Attempt to compare table reference to data in expression.
 +
: '''Action''': Check the expression. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06069: The field [{0}] in this expression has an invalid table in this context.</span>
 +
: '''Cause''': Field has invalid table in this context for field fieldName in expression.
 +
: '''Action''': Check the expression. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06070: Invalid use of a query key [{0}] representing a "to-many" relationship in an expression. Use anyOf() rather than get().</span>
 +
: '''Cause''': Invalid use of a query key representing a one-to-many relationship in expression.
 +
: '''Action''': Use the anyOf operator instead of the get operator. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06071: Invalid use of anyOf() for a query key [{0}] not representing a to-many relationship in an expression. Use get() rather than anyOf().</span>
 +
: '''Cause''': Invalid use of anyOf for a query key not representing a to-many relationship in expression.
 +
: '''Action''': Use the get operator instead of the anyOf operator. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06072: Querying across a VariableOneToOneMapping is not supported. {2}Descriptor: [{0}] {2}Mapping: [{1}]</span>
 +
: '''Cause''': Attempt to query across a variable one-to-one mapping. This is not supported.
 +
: '''Action''': Change the expression such that the query is not performed across a variable one-to-one mapping. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06073: Malformed expression in query. Attempting to print an object reference into an SQL statement for query key [{0}].</span>
 +
: '''Cause''': Ill-formed expression in query that is attempting to print an object reference into a SQL statement for queryKey.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06074: This expression cannot determine if the object conforms in memory. You must set the query to check the database.</span>
 +
: '''Cause''': Expression cannot determine if the object conforms in memory.
 +
: '''Action''': Set the query to check the database; change the query such that it does not attempt to conform to the results of the query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06075: Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons. {1}Expression: [{0}]</span>
 +
: '''Cause''': Invalid operator was used for the object comparison: object comparisons can use only the equal or notEqual operators; other comparisons must be performed through query keys or direct attribute level comparisons.
 +
: '''Action''': Ensure the query uses only equal and notEqual if object comparisons are being used. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06076: Object comparisons can only be used with OneToOneMappings. Other mapping comparisons must be done through query keys or direct attribute level comparisons. {2}Mapping: [{0}] {2}Expression: [{1}]</span>
 +
: '''Cause''': Unsupported type of mapping was used for the object comparison: object comparisons can be used only with one-to-one mappings; other mapping comparisons must be performed through query keys or direct attribute level comparisons.
 +
: '''Action''': Use a query key instead of attempting to compare objects across the mapping. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06077: Object comparisons cannot be used in parameter queries. You must build the expression dynamically. {1}Expression: [{0}]</span>
 +
: '''Cause''': Object comparison was parameterized: object comparisons cannot be used in parameter queries.
 +
: '''Action''': Change the query so that it does not attempt to use objects when using parameterized queries. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06078: The class of the argument for the object comparison is incorrect. {3}Expression: [{0}] {3}Mapping: [{1}] {3}Argument: [{2}]</span>
 +
: '''Cause''': An incorrect class of the argument was used for the object comparison.
 +
: '''Action''': Ensure the class for the query is correct. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06079: Object comparison cannot be used for target foreign key relationships. Query on the source primary key instead. {3}Expression: [{0}] {3}Mapping: [{1}] {3}Argument: [{2}]</span>
 +
: '''Cause''': Object comparison was used for target foreign key relationships: object comparisons cannot be used for target foreign key relationships
 +
: '''Action''': Query on the source primary key. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06080: Invalid database call [{0}]. The call must be an instance of DatabaseCall.</span>
 +
: '''Cause''': Invalid database call: the call must be an instance of DatabaseCall.
 +
: '''Action''': Ensure the call being used is a DatabaseCall. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06081: Invalid database accessor [{0}]. The accessor must be an instance of DatabaseAccessor.</span>
 +
: '''Cause''': Invalid database accessor: the accessor must be an instance of DatabaseAccessor.
 +
: '''Action''': Ensure the accessor being used is a DatabaseAccessor. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06082: The method [{0}] with argument types [{1}] cannot be invoked on Expression.</span>
 +
: '''Cause''': The nonexisting method methodName with argument type argTypes was invoked on an expression.
 +
: '''Action''': Ensure the method being used is a supported method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06083: Queries using in() cannot be parameterized. Disable either query preparation or binding.</span>
 +
: '''Cause''': The query that was using IN was parameterized: queries using IN cannot be parameterized.
 +
: '''Action''': Disable the query prepare or binding. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06084: The redirection query was not configured properly. The class or method name was not set.</span>
 +
: '''Cause''': The redirection query was not configured properly: the class or method name was not set.
 +
: '''Action''': Verify the configuration for the redirection class. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg"><nowiki>ECLIPSELINK-06085: The redirection query''s method is not defined or defined with the wrong arguments. It must be declared "public static" and have arguments (DatabaseQuery, Record, Session) or (Session, Vector). {2}Class: [{0}] {2}Method: [{1}]</nowiki></span>
 +
: '''Cause''': The redirection query's method is not defined or it is defined with the wrong arguments. It must be public static and have the following arguments: DatabaseQuery, DatabaseRow, or Session (the interface).
 +
: '''Action''': Check the redirection query's method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg"><nowiki>ECLIPSELINK-06086: The redirection query''s method invocation triggered an exception.</nowiki></span>
 +
: '''Cause''': The static invoke method provided to MethodBaseQueryRedirector threw an exception when invoked.
 +
: '''Action''': Check the static invoke method for problems. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06087: The example object class [{0}] does not match the reference object class [{1}].</span>
 +
: '''Cause''': There is a class mismatch between the example object and the reference class specified for this query.
 +
: '''Action''': Ensure that the example and reference classes are compatible. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06088: There are no attributes for the ReportQuery.</span>
 +
: '''Cause''': A ReportQuery has been built with no attributes specified.
 +
: '''Action''': Specify the attribute for the query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg"><nowiki>ECLIPSELINK-06089: The expression has not been initialized correctly. Only a single ExpressionBuilder should be used for a query. {1}For parallel expressions, the query class must be provided to the ExpressionBuilder constructor, and the query''s ExpressionBuilder must {1}always be on the left side of the expression. {1}Expression: [{0}]</nowiki></span>
 +
: '''Cause''': The expression has not been initialized correctly. Only a single ExpressionBuilder should be used for a query. For parallel expressions, the query class must be provided to the ExpressionBuilder constructor, and the query's ExpressionBuilder must always be on the left side of the expression.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06090: Cannot set ReportQuery to "check cache only".</span>
 +
: '''Cause''': The checkCacheOnly method was invoked on a ReportQuery. You cannot invoke the checkCacheOnly method on a ReportQuery, because a ReportQuery returns data rather than objects and the TopLink cache is built with objects.
 +
: '''Action''': Do not use a ReportQuery in this case. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06091: The type of the constant [{0}], used for comparison in the expression, does not match the type of the attribute [{1}].</span>
 +
: '''Cause''': The type of the constant used for comparison in the expression does not match the type of the attribute.
 +
: '''Action''': Contact Oracle Support Services. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06092: Uninstantiated ValueHolder detected. You must instantiate the relevant Valueholders to perform this in-memory query.</span>
 +
: '''Cause''': Uninstantiated value holders have been detected.
 +
: '''Action''': Instantiate the value holders for the collection on which you want to query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg"><nowiki>ECLIPSELINK-06094: The parameter name [{0}] in the query''s selection criteria does not match any parameter name defined in the query.</nowiki></span>
 +
: '''Cause''': An unmapped field was used in a parameterized expression.
 +
: '''Action''': Map the field or define an alternate expression that does not rely on the unmapped field. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06095: Public clone method is required.</span>
 +
: '''Cause''': A delegate class of an IndirectContainer implementation does not implement Cloneable. If you implement IndirectContainer you must also implement Cloneable. For example, see oracle.toplink.indirection.IndirectSet. The clone method must clone the delegate. For example, the IndirectSet implementation uses reflection to invoke the clone method because it is not included in the common interface shared by IndirectSet and its base delegate class, HashSet.
 +
: '''Action''': Ensure that your IndirectContainer implementation or its delegate class implements Cloneable. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06096: Clone method is inaccessible.</span>
 +
: '''Cause''': A delegate class of an IndirectContainer implementation implements Cloneable but the IndirectContainer implementation does not have access to the specified clone method. That is, a java.lang.IllegalAccessException is raised when the delegate's clone method is invoked.
 +
: '''Action''': Ensure that both the delegate clone method and the delegate class are public. Ensure permission is set for Java reflection in your VM security settings. See also the invoke method of java.lang.reflect.Method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06097: clone method threw an exception: {0}.</span>
 +
: '''Cause''': A delegate class of an IndirectContainer implementation implements Cloneable and the IndirectContainer implementation has access to the specified clone method, but the specified clone method raises a java.lang.reflect.InvocationTargetException when invoked.
 +
: '''Action''': Verify the implementation of the delegate's clone method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06098: Unexpected Invocation Exception: {0}.</span>
 +
: '''Cause''': A proxy object method raises an unexpected exception when invoked (that is, some exception other than InvocationTargetException and ValidationException.)
 +
: '''Action''': Review the proxy object to see where it is throwing the exception described in the exception message. Ensure this exception is no longer raised. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06099: Joining across inheritance class with multiple table subclasses not supported: {0}, {1}</span>
 +
: '''Cause''': Joining with query across inheritance class with multiple table subclasses. This is not supported: joining cannot be used on relationships with inheritance classes that have subclasses that span multiple tables as this requires multiple separate queries. The multiple queries cannot be joined into a single query.
 +
: '''Action''': Use batch reading on the relationship instead, as this will provide equivalent or better performance. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06100: Multiple values detected for single-object read query.</span>
 +
: '''Cause''': Multiple values detected for single-object read query. This is a CMP compliance option that ensures the finder methods for a single object only return a single row.
 +
: '''Action''': Set the system property toplink.cts.checkMultipleRows to false, or ensure that the finder query only returns a single row from the database. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06101: Executing this query could violate the integrity of the global session cache which must contain only the latest versions of objects. In order to execute a query that returns objects as of a past time, try one of the following: Use a HistoricalSession (acquireSessionAsOf), all objects read will be cached and automatically read as of the same time. This will apply even to triggering object relationships. Set shouldMaintainCache to false. You may make any object expression as of a past time, provided none of its fields are represented in the result set (i.e. used only in the where clause).</span>
 +
: '''Cause''': Executing this query could violate the integrity of the global session cache which must contain only the latest versions of objects.
 +
: '''Action''': To execute a query that returns objects of a historical nature, you must do one of the following:Use a HistoricalSession (acquireSessionAsOf). All objects read will be cached and automatically read at that time. This applies also to triggering object relationships.Set shouldMaintainCache to false. You may make any object expression as of a previous time, provided none of its fields are represented in the result set (i.e. used in the where clause). <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06102: At present historical queries only work with Oracle 9R2 or later databases, as it uses Oracle's Flashback feature.</span>
 +
: '''Cause''': Invalid database was used: historical queries only work with Oracle 9.2.0.4 or later databases, as it uses the Oracle database Flashback feature.
 +
: '''Action''': Ensure that historical queries are only used with an Oracle 9.2.0.4 or later database. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06103: You may not execute a WriteQuery from inside a read-only HistoricalSession. To restore past objects, try the following: read the same object as it is now with a UnitOfWork and commit the UnitOfWork.</span>
 +
: '''Cause''': Invalid query was executed on a historical session: you may not execute a WriteQuery from inside a read-only HistoricalSession. To restore historical objects, try the following: read the same object as it is now with a UnitOfWork and commit the UnitOfWork.
 +
: '''Action''': To restore historical objects, read the same object as it is now with a UnitOfWork and commit the UnitOfWork. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06104: The object, {0}, does not exist in the cache.</span>
 +
: '''Cause''': The object does not exist in the cache.
 +
: '''Action''': Ensure that the object exists in the cache. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06105: Query has to be reinitialized with a cursor stream policy.</span>
 +
: '''Cause''': The cursor stream policy was not used on the query instantiation.
 +
: '''Action''': Reinitialize the query with a cursor stream policy. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06106: The object of type [{0}] with primary key [{1}] does not exist in the cache.</span>
 +
: '''Cause''': The object with primary key does not exist in the cache.
 +
: '''Action''': Ensure that the object exists in the cache. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06107: Missing update statements on UpdateAllQuery.</span>
 +
: '''Cause''': Missing update statements on UpdateAllQuery.
 +
: '''Action''': Add update statements using the addUpdate method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06108: Update all query does not support inheritance with multiple tables</span>
 +
: '''Cause''': For UpdateAllQuery, inheritance was used with multiple tables: UpdateAllQuery does not support inheritance with multiple tables.
 +
: '''Action''': Do not use UpdateAllQuery in this situation. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06109: The named fetch group ({0}) is not defined at the dscriptor level.</span>
 +
: '''Cause''': The named fetch group is not defined at the descriptor level.
 +
: '''Action''': Ensure the fetch group is defined in the descriptor. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06110: Read query cannot conform the unfetched attribute ({0}) of the partially fetched object in the unit of work identity map.</span>
 +
: '''Cause''': Read query cannot conform to the unfetched attribute of the partially fetched object in the unit of work identity map.
 +
: '''Action''': Do not use unfetched attribute conforming, or explicitly fetch the attribute before conforming. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06111: The fetch group attribute ({0}) is not defined or not mapped.</span>
 +
: '''Cause''': The fetch group attribute is not defined or mapped.
 +
: '''Action''': Ensure that any attribute defined in a fetch group is defined in the class and mapped. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06112: Fetch group cannot be set on report query.</span>
 +
: '''Cause''': A fetch group was set on report query: fetch groups cannot be set on report queries.
 +
: '''Action''': Remove the fetch group setting on ReportQuery, or use ReadObjectQuery or ReadObjectQuery instead. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06113: Fetch group cannot be used along with partial attribute reading.</span>
 +
: '''Cause''': Fetch group was used together with partial attribute reading: fetch groups cannot be used together with partial attribute reading.
 +
: '''Action''': Remove the partial attribute reading setting in the query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06114: You must define a fetch group manager at descriptor ({0}) in order to set a fetch group on the query ({1})</span>
 +
: '''Cause''': A fetch group manager is not defined at the descriptor while attempting to set a fetch group on a query.
 +
: '''Action''': You must define a fetch group manager at the descriptor in order to set a fetch group on the query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06115: Queries on isolated classes, or queries set to use exclusive connections, must not be executed on a ServerSession or, in CMP, outside of a transaction.</span>
 +
: '''Cause''': An isolated query was executed on a server session: queries on isolated classes, or queries set to use exclusive connections, must not be executed on a ServerSession or in CMP outside of a transaction.
 +
: '''Action''': Do not execute queries on isolated classes or queries set to use exclusive connections on a ServerSession or in CMP outside of a transaction. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06116: No Call or Interaction was specified for the attempted operation.</span>
 +
: '''Cause''': No call or interaction method was specified for the attempted operation.
 +
: '''Action''': Specify a call or interaction method. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06117: Can not set a query, that uses a cursored result, to cache query results.</span>
 +
: '''Cause''': A query that uses a cursored result to cache query results was set.
 +
: '''Action''': Do not cache query results or do not use a cursor policy. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06118: A query on an Isolated class must not cache query results on the query.</span>
 +
: '''Cause''': Query on an isolated class attempted to cache query results on the query.
 +
: '''Action''': Do not cache query results for a query on an isolated class. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06119: The join expression {0} is not valid, or for a mapping type that does not support joining.</span>
 +
: '''Cause''': The join expression is not valid, or is for a mapping type that does not support joining.
 +
: '''Action''': Joining is supported only for one-one and one-many mappings. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06120: The partial attribute {0} is not a valid attribute of the class {1}.</span>
 +
: '''Cause''': The partial attribute attributeName is not a valid attribute of the class className.
 +
: '''Action''': Ensure that this attribute exists, and is mapped. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06121: The query has not been defined correctly, the expression builder is missing. For sub and parallel queries ensure the queries builder is always on the left.</span>
 +
: '''Cause''': The query has not been defined correctly: the expression builder is missing.
 +
: '''Action''': Ensure the queries builder is always on the left for sub queries and parallel queries. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06122: The expression is not a valid expression. {0}</span>
 +
: '''Cause''': Attempt to use an invalid expression expression.
 +
: '''Action''': Ensure the correctness of the expression. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06123: The container class specified [{0}] cannot be used because the container needs to implement {1}.</span>
 +
: '''Cause''': Invalid container class specified: the container class className cannot be used, because the container needs to implement interfaceName.
 +
: '''Action''': Ensure that the class specified as a container implements the correct interface. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06124: Required query of {0}, found {1}</span>
 +
: '''Cause''': TopLink was expecting to find the query queryName, but instead found an incorrect query queryName.
 +
 +
 +
 +
 +
<div class="msgentry">
 +
 +
; <span class="msg">ECLIPSELINK-06124: Required query of {0}, found {1}</span>
 +
: '''Cause''': TopLink was expecting to find the query queryName, but instead found an incorrect query queryName.
 +
: '''Action''': Provide the correct query. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06125: ReadQuery.clearQueryResults() can no longer be called. The call to clearQueryResults now requires that the session be provided. clearQueryResults(session) should be called.</span>
 +
: '''Cause''': The ReadQuery method clearQueryResults() was called: this method cannot be called anymore. The call to the clearQueryResults method now requires that the session be provided.
 +
: '''Action''': Call the ReadQuery method clearQueryResults(session). <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06126: A query is being executed that uses both conforming and cached query results. These two settings are incompatible.</span>
 +
: '''Cause''': A query is being executed that uses both conforming and cached query results. These two settings are incompatible.
 +
: '''Action''': Ensure that the query uses either conforming or cached query results. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06127: A reflective call failed on the TopLink class {0}, your environment must be set up to allow Java reflection.</span>
 +
: '''Cause''': A reflective call failed on the TopLink class classNAME.
 +
: '''Action''': Set up your environment to allow Java reflection <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06128: Batch Reading is not supported on Queries using custom Calls.</span>
 +
: '''Cause''': Attempt to use batch reading on a query using a custom call: batch reading is not supported on queries using custom calls.
 +
: '''Action''': Do not use batch reading on queries using custom calls. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
 +
 +
 +
 +
; <span class="msg">ECLIPSELINK-06129: Refreshing is not possible if the query does not go to the database.</span>
 +
: '''Cause''': Attempt to refreshing the query that does not go to the database. This is not possible.
 +
: '''Action''': Avoid refreshing queries that do not go to the database. <br>'''Level''': 1<br>'''Type''': ERROR<br>'''Impact''': Programmatic
  
 
==Validation Exceptions (7001 – 7200)==
 
==Validation Exceptions (7001 – 7200)==

Revision as of 14:06, 19 December 2007

Related topics

This section lists EclipseLink exceptions and provides numerical ranges of their error codes. Each exception code corresponds to an exception class and includes the following information:

  • The exception number in the format of EXCEPTION [ECLIPSELINK-XXXX]
  • A description of the problem, taken from the raised exception


Descriptor Exceptions (1 – 202)

DescriptorException is a development exception that is raised when insufficient information is provided to the descriptor. The message that is returned includes the name of the descriptor or mapping that caused the exception. If a mapping within the descriptor caused the error, then the name and parameters of the mapping are part of the returned message, as this exampledemonstrates.

Internal exception, mapping and descriptor appear only if EclipseLink has enough information about the source of the problem to provide this information.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message
INTERNAL EXCEPTION: Message
MAPPING: Database mapping
DESCRIPTOR: Descriptor


Descriptor Exception

EXCEPTION [ECLIPSELINK – 75]: org.eclipse.persistence.exceptions.DescriptorException
EXCEPTION DESCRIPTION: The reference class is not specified.


ECLIPSELINK-00001: The attribute [{0}] is not declared as type ValueHolderInterface, but its mapping uses indirection.
Cause: attributeName is not declared as type ValueHolderInterface, but the mapping uses indirection. The mapping is set to use indirection, but the related attribute is not defined as type ValueHolderInterface. It is raised on foreign reference mappings.
Action: If you want to use indirection on the mapping, change the attribute to type ValueHolderInterface. Otherwise, change the mapping associated with the attribute so that it does not use indirection.
Level: 1
Type: ERROR
Impact: Configuration



ECLIPSELINK-00002: The attribute [{0}] is declared as type ValueHolderInterface, but its mapping does not use indirection.
Cause: attributeName is declared as type ValueHolderInterface, but TopLink is unable to use indirection. The attribute is defined to be of type ValueHolderInterface, but the mapping is not set to use indirection. It is raised on foreign reference mappings.
Action: If you do not want to use indirection on the mapping, change the attribute so it is not of type ValueHolderInterface. Otherwise, change the mapping associated with the attribute to use indirection.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00006: Attribute name is missing.
Cause: The attribute name is missing or not specified in the mapping definition.
Action: Specify the attribute name in the mapping by calling the method setAttributeName(String attributeName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00007: The attribute [{0}] should be of type Vector (or a type that implements Map or Collection, if using Java 2).
Cause: When using Java 2, the specified attributeName is not defined as type vector, or a type that implements the Map or Collection interface. This occurs in one-to-many mapping, many-to-many mapping, and collection mapping when mapping is set not to use indirection, and the attribute type is not declared.
Action: Declare the attribute to be of type java.util.Vector.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00008: The descriptor [{0}] has been set to use inheritance, but a class indicator field has not been defined. {2}When using inheritance, a class indicator field or class extraction method must be set. {2}Parent Descriptor: [{1}]
Cause: The class indicator field is defined, but the descriptor is set to use inheritance. When using inheritance, a class indicator field or class extraction method must be set. The class indicator field is used to create the right type of domain object.
Action: Set either a class indicator field or class extraction method.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00009: This mapping does not have a direct field name set.
Cause: The direct field name from the target table is not set in the direct collection mapping.
Action: Specify the direct field name by calling the method setDirectFieldName(String fieldName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00010: This mapping does not have a field name set.
Cause: The field name is not set in the mapping. It is raised from direct to field mapping, array mapping, and structure mapping.
Action: Specify the field name by calling the method setFieldName(String fieldName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00011: The foreign key information for this mapping is defined incorrectly.
Cause: One-to-one mapping foreign key is defined incorrectly. Multiple foreign key fields were set for one-to-one mapping by calling the method setForeignKeyFieldName(String fieldName).
Action: Use the method addForeignKeyFieldName(String sourceForeignKeyName, String targetPrimaryKeyFieldName) to add multiple foreign key fields.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00012: Descriptors must use an identity map in order to use the "Check Cache" existence checking option.
Cause: The descriptor has been set not to use identity map, but the existence checking is set to be performed on identity map: the descriptor must use an identity map to use the Check cache does exist option.
Action: Either use identity map, or set the existence checking to some other option.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00013: The instance variable [{0}] in the object [{1}] is inaccessible.
Cause: TopLink is unable to access the attributeName instance variable in object objectName. The instance variable in the domain object is not accessible. This exception is raised when TopLink tries to access the instance variable using the java.lang.reflect Java package. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00014: Problem in cloning the object [{0}]. The clone method [{1}] is not accessible.
Cause: TopLink is unable to clone the object domainObject because the clone method methodName is not accessible. The method name specified using useCloneCopyPolicy(String cloneMethodName) or the clone() method to create the clone on the domain object, is not accessible by TopLink using Java reflection. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00015: This class does not define a default constructor, which TopLink requires.
Cause: The domain class does not define a public default constructor, which TopLink needs to create new instances of the domain class.
Action: Define a public default constructor or use a different instantiation policy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00016: The descriptor callback method [{0}], with parameter (DescriptorEvent), is inaccessible.
Cause: The descriptor callback method eventMethodName with DescriptorEvent as an argument is not accessible. This exception is raised when TopLink tries to access the event method using Java reflection. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00017: Trying to access the method [{0}] on the object [{1}]. The underlying method is inaccessible.
Cause: Attempt to invoke inaccessible methodName on the object objectName. The underlying getter method to access an attribute in the domain object is not accessible. This exception is raised when TopLink tries to access an attribute through a method using the java.lang.reflect Java package. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00018: Illegal method access in a Transformation mapping using a ValueHolder.
Cause: The method used by the transformation mapping using a value holder is invalid. This exception is raised when TopLink tries to access the method using Java reflection. The problem occurs when the method base valueholder is instantiated.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00019: Illegal access while invoking the attribute method on a Transformation mapping. The underlying method is inaccessible.
Cause: On transformation mapping, the underlying attribute method that is used to retrieve values from the database row while reading the transformation mapped attribute is not accessible.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00020: The method [{0}] is inaccessible.
Cause: On transformation mapping, the method methodName that is used to retrieve value from the object while writing the transformation mapped attribute is not accessible. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00021: Problem in extracting class from row [{0}]. The static method [{1}], with parameter (DatabaseRow), is not accessible.
Cause: TopLink is unable to extract data row, because TopLink cannot access the row specified in the databaseRow argument of the method. The method to extract class from row on the domain object is not accessible. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00022: Problem in creating new instance. The creation method [{0}] is not accessible.
Cause: TopLink is unable to create a new instance, because the method methodName that creates instances on the domain class is not accessible. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00023: The descriptor callback method [{0}], with parameter (Session), is inaccessible.
Cause: The descriptor callback method eventMethodName with Session as an argument is inaccessible. This exception is raised when TopLink tries to access the event method using Java reflection. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00024: The instance variable [{0}] in the object [{1}] is inaccessible. {3}Argument: [{2}]
Cause: The attributeName instance variable in the object objectName is not accessible through Java reflection. The error is raised by Java, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00025: The method [{0}] with argument [{1}] is not accessible.
Cause: TopLink is unable to invoke a method setMethodName on the object with parameter parameter. The attribute's set accessor method is not accessible through Java reflection. The error is raised by Java and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00026: Trying to get value for instance variable [{0}] of type [{1}] from the object [{2}]. The specified object is not an instance of the class or interface declaring the underlying field.
Cause: TopLink is unable to get a value for an instance variable attributeName of type typeName from the object. The specified object is not an instance of the class or interface declaring the underlying field. An object is accessed to get the value of an instance variable that does not exist.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00027: Trying to invoke the method [{0}] on the object [{1}]. The number of actual and formal parameters differs, or an unwrapping conversion has failed.
Cause: TopLink is unable to invoke method methodName on the object objectName. The get accessor method declaration on the domain object differs from the one that is defined. The number of actual and formal parameters differ, or an unwrapping conversion has failed.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00028: Illegal argument while instantiating a method-based proxy in a Transformation mapping.
Cause: The method that the method-based proxy uses in a transformation mapping is receiving invalid arguments when the valueholder is being instantiated. This exception is raised when TopLink tries to access the method using the java.lang.reflect Java package.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00029: The number of actual and formal parameters differs, or an unwrapping conversion has failed.
Cause: The number of actual and formal parameters differs, or an unwrapping conversion has failed. On transformation mapping, the method used to retrieve values from the database row while reading the transformation mapped attribute is getting an invalid argument.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00030: The number of actual and formal parameters differs for method [{0}], or an unwrapping conversion has failed.
Cause: The number of actual and formal parameters differs for method methodName, or an unwrapping conversion has failed. On transformation mapping, the method used to retrieve value from the object while writing the transformation mapped attribute is getting an invalid argument. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00031: The number of actual and formal parameters for the descriptor callback method [{0}] differs, or an unwrapping conversion has failed.
Cause: The number of actual and formal parameters for the descriptor callback method eventMethodName differs, or an unwrapping conversion has failed. The callback event method is invoked with an invalid argument. This exception is raised when TopLink tries to invoke the event method using Java reflection. The error is a purely Java exception, and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00032: Trying to set value [{0}] for instance variable [{1}] of type [{2}] in the object. The specified object is not an instance of the class or interface declaring the underlying field, or an unwrapping conversion has failed.
Cause: An invalid value is being assigned to the attribute instance variable. TopLink is unable to set a value for an instance variable attributeName of type typeName in the object. The specified object is not an instance of the class or interface that is declaring the underlying field, or an unwrapping conversion has failed. TopLink assigns value by using Java reflection. Java raises the error and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00033: Trying to invoke [{0}] on the object [{1}]. The number of actual and formal parameters differs, or an unwrapping conversion has failed.
Cause: An illegal argument is being passed to the attribute's set accessor method. TopLink is unable to invoke method setMethodName on the object. The number of actual and formal parameters differs, or an unwrapping conversion has failed. Java raises the error and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00034: This class does not define a public default constructor, or the constructor raised an exception.
Cause: The class does not define a public default constructor, or the constructor raised an exception. This error occurs when you invoke the default constructor for the domain object to create a new instance of the object while building new domain objects if:The class represents an abstract class, an interface, an array class, a primitive type, or void.The instantiation fails for some other reason. Java raises the error and TopLink wraps only the reflection exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00035: Invalid event.
Cause: Applications should never encounter this exception. This exception usually occurs at the time of developing TopLink, although in cases, where you write new mapping, it is possible to get this exception. In direct collection mapping and many-to-many mapping, the target table and relational table are populated at the end of the commit process, and if a data modification event is sent to any other mapping, then this exception is raised.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00036: Invalid event code [{0}].
Cause: An application should never encounter this exception. This exception usually occurs at the time of developing TopLink, although in cases, where you write new mappings, it is possible to get this exception. In direct collection mapping and many-to-many mapping, the target table and relational table are populated at the end of the commit process, and if a data modification event is sent to these two mappings with wrong event code, then this exception is raised.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00037: Invalid descriptor event code [{0}].
Cause: An application should never encounter this exception. This exception usually occurs at the time of developing TopLink. The exception means that the descriptor event manager does not support the event code passed in the event.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00038: Identity map constructor failed because an invalid identity map was specified.
Cause: The identity map constructor failed because an invalid identity map was specified. The identity map class given in the descriptor cannot be instantiated. The exception is a Java exception that is raised by a Java reflection when TopLink instantiates the identity map class. TopLink wraps only the Java exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00039: This descriptor does not specify a Java class.
Cause: The descriptor does not define a Java class. The Java class is not specified in the descriptor.
Action: Specify the Java class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00040: Descriptor is missing for [{0}]. It was probably not added to the Session.
Cause: A descriptor for the referenced interface is not added to the session.
Action: Add that descriptor to the session.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00041: A non-read-only mapping must be defined for the sequence number field.
Cause: A non-read-only mapping is not defined for the sequence number field. A mapping is required so that TopLink can put and extract values for the primary key.
Action: Define a mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00043: Missing class for indicator field value [{0}] of type [{1}].
Cause: TopLink is missing the class for indicator field value classFieldValue of type type. There was no class entry found in the inheritance policy for the indicator field value that was read from the database. It is likely that the method addClassIndicator(Class class, Object typeValue) was not called for the field value. The class and typeValue are stored in a hash table, and later the class is extracted from the hash table by passing typeValue as a key. Because Integer(1) is not equivalent to Float(1), this exception occurs when the type of typeValue is incorrectly specified.
Action: Verify the descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00044: Missing class indicator field from database row [{0}].
Cause: The class indicator field is missing from the database row that was read from the database. This is performed in the inheritance model where after reading rows from the database, child domain objects are to be constructed depending upon the type indicator values.
Action: Verify the printed row for correct spelling.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00045: Missing mapping for field [{0}].
Cause: TopLink is missing a mapping for field; a mapping for the field is not specified.
Action: Define a mapping for the field.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00046: There should be one non-read-only mapping defined for the primary key field [{0}].
Cause: A mapping for the primary key is not specified. There should be one non-read-only mapping defined for the primary key field.
Action: Define a mapping for the primary key.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00047: The multiple table primary key mapping must be specified when a custom multiple table join is used.
Cause: The multiple table primary key mapping is not specified when a custom multiple table join is used. If multiple tables are specified in the descriptor and the join expression is customized, then the primary keys for all the tables must be specified. If the primary keys are not specified, then the exception occurs.
Action: Call the method addMultipleTablePrimaryKeyFieldName(String fieldNameInPrimaryTable, String fieldNameInSecondaryTable) on the descriptor to set the primary keys.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00048: Multiple writable mappings exist for the field [{0}]. Only one may be defined as writable, all others must be specified read-only.
Cause: Multiple writable mappings for the field fieldName are defined in the descriptor. Exactly one must be defined as writable; the others must be specified as read-only. When multiple write mappings are defined for the field, TopLink is unable to choose the appropriate mapping for writing the value of the field in the database row. Therefore, the exception is raised during the validation process of descriptors. The most common cause of this problem is when the field has direct-to-field mapping, as well as one-to-one mapping. In this case, the one-to-one mapping must either be read-only or a target foreign key reference.
Action: Make one of those mappings read-only.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00049: An attribute transformation method name is not specified for this mapping.
Cause: The attribute transformation method name in the transformation mapping is not specified. This method is invoked internally by TopLink to retrieve value to store in the domain object.
Action: Define a method and set the method name on the mapping by calling the method setAttributeTransformation(String methodName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00050: A field name is not set for this mapping.
Cause: No field name is specified in direct-to-field mapping.
Action: Set the field by calling setFieldName(String fieldName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00051: No foreign keys have been specified for this mapping.
Cause: Neither the selection criteria nor the foreign keys were specified on one-to-one mapping. If the selection criterion is not specified, then TopLink tries to build one from the foreign keys specified in the mapping.
Action: Specify the fields.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00052: No reference key has been specified for this mapping.
Cause: No query key named queryKey is found in descriptor. No reference key from the target table is specified on direct collection mapping.
Action: Specify the fields by calling the method setReferenceKeyFieldName(String fieldName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00053: The relation table name is not set for this mapping.
Cause: The relation table name is not set in this many-to-many mapping.
Action: Set the relation table name by calling the method setRelationTableName(String tableName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00054: There are no source relation keys specified for this mapping.
Cause: There are no source relation keys specified in this many-to-many mapping.
Action: Add source relation keys to the mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00055: The descriptor callback method [{0}] cannot be found. It must take a Session or a DescriptorEvent as its argument.
Cause: TopLink cannot find the descriptor callback method on the domain class. It must take a Session or a DescriptorEvent as its argument. TopLink tries to invoke the method using Java reflection. It is a Java exception and TopLink is wrapping only the main exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00056: The method [{0}] with parameters (Record) or (Record, Session) is not found.
Cause: TopLink cannot find the method methodName(Record databaseRow) or methodName(Record databaseRow, Session session). TopLink wraps the Java reflection exception that is caused when the method is being created from the method name. This method is set by calling setAttributeMethodName(String aMethodName).
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00057: Inaccessible constructor.
Cause: The constructor is inaccessible to TopLink. TopLink wraps the Java reflection exception that is caused when it is creating a new instance of the domain.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00058: The method [{0}] with parameters () or (Session) not found.
Cause: TopLink failed to find a method with signature methodName() or methodName(oracle.toplink.sessions.Session). TopLink wraps the Java reflection exception that was raised by its attempt to create a Method type (java.lang.reflect) from the method names in the transformation mapping.
Action: Ensure that the method methodName is defined on the domain class that owns the attribute mapped by the transformation mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00059: The instance variable [{0}] is not defined in the domain class [{1}], or it is not accessible.
Cause: The instance variable attributeName is not defined in the domain class, or it is not accessible. TopLink wraps the Java reflection exception that is caused when it is creating a Field type (java.lang.reflect.Field) from the attribute name.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00060: The method [{0}] or [{1}] is not defined in the object [{2}].
Cause: The method setMethodName or getMethodName is not defined for the attribute in the domain class javaClassName, or it is not accessible. TopLink wraps the Java reflection exception that is caused when it is creating a Method type from the method name.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00061: The static class extraction method [{0}], with parameter (Record), does not exist, or is not accessible.
Cause: The static class extraction method methodName(Record databaseRow) does not exist, or is not accessible. A Java reflection exception wrapped in a TopLink exception is raised when a class extraction method is being created from the method name in the inheritance policy.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00062: The clone method [{0}], with no parameters, does not exist, or is not accessible.
Cause: The clone method methodName() does not exist, or is not accessible. A Java reflection exception wrapped in a TopLink exception is raised when a method to create clones is being created from the method name in the copy policy.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00063: The instance creation method [{0}], with no parameters, does not exist, or is not accessible.
Cause: The instance creation method methodName() does not exist, or is not accessible. A Java reflection exception wrapped in a TopLink exception is raised when a method to create the new instance is being created from the method name in the instantiation policy.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00064: No target foreign keys have been specified for this mapping.
Cause: The foreign keys in the target table are not specified in one-to-many mappings. These fields are not required if a selection criterion is given in the mapping, but otherwise they must be specified.
Action: Set target foreign keys or selection criteria.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00065: No target relation keys have been specified for this mapping.
Cause: There are no target relation keys specified in many-to-many mappings.
Action: Call method addTargetRelationKeyFieldName(String targetRelationKeyFieldName, String targetPrimaryKeyFieldName) to set the fields.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00066: Could not deserialize object from byte array.
Cause: Attempt to deserialize an object from the byte array that is read from the database. The exception is raised when the serialized object mapping is converting the byte array into an object.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00067: Could not serialize object into byte array.
Cause: Attempt to serialize an object into a byte array. The exception is raised when a serialized object mapping is converting the object into a byte array.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00068: The value of an aggregate in object [{0}] is null. Null values not allowed for Aggregate mappings unless "Allow Null" is specified.
Cause: The value of the aggregate in the source object object is null. Null values are not allowed for aggregate mappings unless allow null is specified in the aggregate mapping.
Action: Call the mapping method allowNull. Provide parameters only if you are making a distinction between foo() and foo(integer).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00069: A NullPointerException was thrown while extracting a value from the instance variable [{0}] in the object [{1}].
Cause: An object is accessed to get the value of an instance variable through Java reflection. This exception is raised only on some JVMs.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00070: A NullPointerException was thrown while extracting a value through the method [{0}] in the object [{1}].
Cause: The getter method is invoked to get the value of an attribute through Java reflection. This exception is raised only on some JVM.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00071: A NullPointerException was thrown while setting the value of the instance variable [{0}] to the value [{1}].
Cause: A NullPointerException has been raised while setting the value of the attributeName instance variable in the object to value. An object is accessed to set the value of an instance variable through Java reflection. This exception is raised only on some JVMs.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00072: A NullPointerException was thrown while setting a value through the method [{0}] with argument [{1}].
Cause: A NullPointerException has been raised while setting the value through setMethodName method in the object with an argument argument. The set accessor method is invoked to set the value of an attribute through Java reflection. This exception is raised only on some JVMs.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00073: Cannot find descriptor for parent class [{0}].
Cause: TopLink is unable to find the descriptor for the parent class. The descriptor of a subclass has no parent descriptor.
Action: The method setParentClass(Class parentClass) must be called on the subclass descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00074: The primary key fields are not set for this descriptor.
Cause: The primary key fields are not set for this descriptor.
Action: Add primary key field names using method setPrimaryKeyFieldName(String fieldName).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00075: The reference class is not specified for this descriptor.
Cause: The reference class is not specified in the foreign reference mapping.
Action: Set the reference class by calling the method setReferenceClass(Class aClass).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00077: The reference descriptor for [{0}] should be set to be an Aggregate descriptor.
Cause: The referenced descriptor for class className is not set to an aggregate descriptor. An aggregate mapping should always reference a descriptor that is aggregate.
Action: Call the method descriptorIsAggregate on the referenced descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00078: The reference field [{0}] for this mapping must exist in the reference table.
Cause: The table for the reference field is not the reference table. If the reference field name that is specified in the direct collection mapping is qualified with the table name, then the table name should match the reference table name.
Action: Qualify the field with the proper name, or change the reference table name.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00079: The reference table is not specified for this mapping.
Cause: The reference table name in the direct collection mapping is not specified.
Action: Use the method setReferenceTableName(String tableName) on the mapping to set the table name.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00080: The relation key field [{0}] for this mapping must exist in the relation table.
Cause: The table for the relation key field is not the relation table. If the source and target relation fields names that are specified in the many-to-many mapping are qualified with the table name, then the table name should match the relation table name.
Action: Qualify the field with the proper name, or change the relation table name.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00081: The method [{0}] should return the type of the mapped attribute, not void.
Cause: The method attributeMethodName that is specified in the transformation mapping does not have a return type set in the attribute, as it should because this method is used to extract value from the database row.
Action: Verify the method and make appropriate changes.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00082: The descriptor callback method [{0}], with parameter (DescriptorEvent), is not accessible.
Cause: The descriptor callback method with DescriptorEvent as an argument is not accessible. Java raises a security exception when a Method type is created from the method name using Java reflection. The method is a descriptor event callback on the domain object that takes DescriptorEvent as its parameter.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00083: The descriptor callback method [{0}], with parameter (Session), is not accessible.
Cause: The descriptor callback method with Session as an argument is not accessible. Java raises a security exception when a Method type is created from the method name using Java reflection. The method is a descriptor event callback on the domain object, which takes class and session as its parameters.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00084: The method [{0}], with parameters (Record) or (Record, Session), is not accessible.
Cause: Access to the method methodName(Record databaseRow) or methodName(Record databaseRow, Session session) has been denied. Java raises a security exception when a Method type is created from the attribute method name using Java reflection. The attribute method that is specified in the transformation mapping is used to extract value from the database row and set by calling setAttributeTransformation(String methodName).
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00085: The method [{0}], with parameters () or (Session), is not accessible.
Cause: TopLink failed to find a method with signature methodName() or methodName(oracle.toplink.sessions.Session). Java raises a security exception when a Method type is created from the method name using Java reflection. These are the methods that extract the field value from the domain object in the transformation mapping.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00086: The instance variable [{0}] in the class [{1}] is not accessible.
Cause: Access to the instance variable attributeName in the class javaClassName is denied. Java raises a security exception when creating a Field type from the given attribute name using Java reflection.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00087: The methods [{0}], [{1}] in the object [{2}] are not accessible
Cause: The methods setMethodName and getMethodName in the object javaClassName are inaccessible. Java raises a security exception when creating a Method type from the given attribute accessor method name using Java reflection.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00088: The static class extraction method [{0}], with parameter (Record), is not accessible.
Cause: The static class extraction method methodName(Record databaseRow) is not accessible. Java raises a security exception when creating a Method type from the given class extraction method name using Java reflection. The method is used to extract the class from the database row in the inheritance policy.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00089: The clone method [{0}], with no parameters, is not accessible.
Cause: The clone method methodName() is inaccessible. Using ClassDescriptor method useCloneCopyPolicy (java.lang.String methodName), you can specify that the creation of clones within a unit of work is done by sending the methodName method to the original object. If the clone method methodName with no arguments is inaccessible (your application does not have sufficient privileges to call the method), Java raises a security exception when reflectively accessing the method with the given method name using the java.lang.reflect Java package.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00090: The instance creation method [{0}], with no parameters, is not accessible.
Cause: The instance creation method methodName() is inaccessible. Using any of the ClassDescriptor methods useFactoryInstantiationPolicy (java.lang.Class factoryClass, java.lang.String methodName), useFactoryInstantiationPolicy (java.lang.Class factoryClass, java.lang.String methodName, java.lang.String factoryMethodName), useFactoryInstantiationPolicy (java.lang.Object factory, java.lang.String methodName), or useMethodInstantiationPolicy(java.lang.String staticMethodName), you can specify how new instances are created. If any of the methods or factory methods are inaccessible (your application does not have sufficient privileges to call the method), Java raises a security exception when reflectively accessing the method with the given method name using the java.lang.reflect Java package.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00091: To use sequence-generated IDs, both the "Sequence Number Name" and "Sequence Number Field Name" properties must be set for this descriptor.
Cause: Either the sequenceNumberName or the sequenceNumberFieldName property is not set. To use sequence-generated IDs, both the sequenceNumberName and sequenceNumberFieldName properties must be set for the descriptor.
Action: To use sequence-generated IDs, set both the sequence number name and field name properties.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00092: The size of the target''s primary key does not match the size of the foreign key.
Cause: The size of the primary keys on the target table does not match the size of the foreign keys on the source in one-to-one mapping.
Action: Verify the mapping and the reference descriptor's primary keys.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00093: The table [{0}] is not present in this descriptor.
Cause: The table tableName is not present in the descriptor.
Action: Verify the qualified field names that are specified in the mappings and descriptor so that any fields that are qualified with the table name reference the correct table.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00094: Descriptors must have a table name defined.
Cause: No table is specified in the descriptor. The descriptor must have a table name defined.
Action: Call the method addTableName(String tableName) or setTableName(String tableName) to set the tables on the descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00096: The number of target keys does not match the number of source keys.
Cause: The size of the foreign keys on the target table does not match the size of the source keys on the source table in the one-to-many mapping.
Action: Verify the mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00097: Problem cloning the object [{0}]. The clone method [{0}] triggered an exception.
Cause: TopLink has encountered a problem in cloning the object domainObject clone method. The methodName triggered an exception. Java raises this exception when the cloned object is invoked while the object is being cloned. The clone method is specified on the copy policy that is usually invoked to create clones in unit of work.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00098: The underlying descriptor callback method [{0}], with parameter (DescriptorEvent), triggered an exception.
Cause: A descriptor callback method eventMethodName(DescriptorEvent event) is not accessible. The exception occurs when the descriptor event method is invoked using Java reflection.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00099: The method [{0}] on the object [{1}] triggered an exception.
Cause: The method methodName on the object objectName is throwing an exception. Java is throwing an exception while getting an attribute value from the object through a method accessor.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00100: A method has triggered an exception.
Cause: A method has raised an exception. Java raises this exception while instantiating a method based proxy and instantiating transformation mapping.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00101: The underlying method triggered an exception.
Cause: The underlying method raises an exception. Java is throwing an exception while invoking an attribute transformation method on transformation mapping. The method is invoked to extract value from the database row to set into the domain object.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00102: The method [{0}] triggered an exception.
Cause: The method methodName is throwing an exception. Java is throwing exception while invoking field transformation method on transformation mapping. The method is invoked to extract value from the domain object to set into the database row.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00103: Problem in extracting class from row [{0}], using static method [{1}], with parameter (DatabaseRow). An exception was triggered.
Cause: TopLink encountered a problem extracting the class type from row rowName while invoking a class extraction method.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00104: Problem in creating new instance using creation method [{0}]. The creation method triggered an exception.
Cause: TopLink is unable to create a new instance. The creation method methodName caused an exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00105: The underlying descriptor callback method [{0}], with parameter (Session), triggered an exception.
Cause: The underlying descriptor callback method eventMethodName(Session session) raises an exception. Java is throwing an exception while invoking a descriptor event method that takes a session as its parameter.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00106: The method [{0}] on the object is throwing an exception. {2}Argument: [{1}]
Cause: The method setMethodName on the object raises an exception. Java is throwing an exception while invoking a set accessor method on the domain object to set an attribute value into the domain object.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00108: Cannot find value in class indicator mapping in parent descriptor [{0}].
Cause: The indicator value is not found in the class indicator mapping in the parent descriptor for the class.
Action: Verify the addClassIndicator(Class childClass, Object typeValue) on the inheritance policy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00109: This descriptor should not have a write lock field defined because it is a child descriptor. It inherits its parent descriptor''s write lock field.
Cause: The child descriptor has a write-lock field defined. This is unnecessary, because it inherits any required locking from the parent descriptor.
Action: Check your child descriptor, and remove the field.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00110: Descriptor is missing for class [{0}].
Cause: The descriptor for the reference class className is missing from the mapping.
Action: Verify the session to see if the descriptor for the reference class was added.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00111: Multiple table primary key field names must be fully qualified.
Cause: Multiple table primary key field names are not fully qualified. These field names are given on the descriptor if it has more than one table.
Action: Specify the field names with the table name.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00112: Only one table can be added by using setTableName(String). Use addTableName(String) to add multiple tables to a descriptor.
Cause: Attempt to enter more than one table through this method.
Action: Use the method addTableName(String tableName) to add multiple tables to the descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00113: The constructor was inaccessible.
Cause: The constructor is inaccessible. Java is throwing this exception while invoking a default constructor to create new instances of the domain object.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00114: Problem in creating new instance using creation method [{0}]. The creation method is not accessible.
Cause: The new instance methodName creation method is inaccessible. Java is throwing an exception while calling a method to a build new instance of the domain object. This method is given by the user to override the default behavior of creating new instances through a class constructor.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00115: No conversion value provided for the attribute [{0}].
Cause: The field conversion value for the attribute value attributeValue was not given in the object type mapping.
Action: Verify the attribute value, and provide a corresponding field value in the mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00116: No conversion value provided for the value [{0}] in field [{1}].
Cause: The attribute conversion value for the fieldValue was not given in the object type mapping.
Action: Verify the field value, and provide a corresponding attribute value in the mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00118: The object [{0}] must not have read-only mappings to its write lock fields.
Cause: The domain object className cannot have a read-only mapping for the write-lock fields when the version value is stored in the object.
Action: Verify the mappings on the write-lock fields.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00119: The object''s [{0}] mappings to its write lock fields must be read-only.
Cause: The domain object className does not have a read-only mapping for the write-lock fields when the version value is stored in the cache.
Action: Verify the mappings on write-lock fields.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00120: The query key [{0}] is defined in the parent descriptor [{1}], but not in the child descriptor [{2}].
Cause: The query key queryKeyName is defined in the parent descriptor, but not in the child descriptor. The descriptor has not defined the abstract query key.
Action: Define any class that implements the interface descriptor by the abstract query key in the interface descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00122: setExistenceCheck() with argument [{0}] is not understood.
Cause: The interface descriptor parent does not have at least one abstract query key defined. The string given to the method setExistenceChecking(String token) is not understood.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00125: The mapping for the attribute [{0}] uses indirection, and so must be initialized to a new ValueHolder. Currently the value is: [{1}].
Cause: The mapping for the attribute getAttributeName() uses indirection and must be initialized to a new value holder.
Action: Ensure that the mapping uses indirection and that the attribute is initialized to a new value holder.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00126: No subclass matches this class [{0}] for this Aggregate mapping with inheritance.
Cause: No subclass matches this class theClass when inheritance is in aggregate relationship mapping.
Action: Verify the subclass and the relationship mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00127: The get method for the attribute [{0}] does not return a ValueHolderInterface, but the mapping uses indirection.
Cause: The return type of the method used to get the attribute getAttributeName() of a mapping is not declared as type ValueHolderInterface, but the mapping is using indirection.
Action: Verify that the method used to get the attribute named getAttributeName() of DatabaseMapping returns a value holder, or change the mapping so it does not use indirection.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00128: The get method for the attribute [{0}] returns a ValueHolderInterface, but the mapping does not use indirection.
Cause: The return type of the method used to get the attribute getAttributeName() of DatabaseMapping is declared as type ValueHolderInterface, but the mapping is not using indirection.
Action: Ensure that the mapping is using indirection, or change the return type from value holder.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00129: The set method for the attribute [{0}] does not take a ValueHolderInterface as its parameter, but the mapping uses indirection.
Cause: The return type of the method used to set the attribute getAttributeName() of DatabaseMapping is not declared as type ValueHolderInterface, but the mapping is using indirection.
Action: Ensure that the set method parameter is declared as a valueholder, or change the mapping so it does not use indirection.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00130: The set method for the attribute [{0}] takes a ValueHolderInterface as its parameter, but the mapping does not use indirection.
Cause: The return type of the method used to set the attribute getAttributeName() of DatabaseMapping is declared as type ValueHolderInterface, but the mapping is not using indirection.
Action: Ensure that the mapping is changed to use indirection, or that the method parameter is not declared as a value holder.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00131: The get method for the attribute [{0}] should return a Vector (or a type that implements Map or Collection, if using Java 2).
Cause: The return type of the method used to get the attribute getAttributeName() of DatabaseMapping is not declared as type Vector (or a type that implements the Map or Collection interface if using Java 2).
Action: Declare the return type of the method used to get the attribute getAttributeName() of DatabaseMapping as type Vector (or a type that implements the map or collection interface if using Java 2).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00133: The set method for the attribute [{0}] should take a Vector as its parameter (or a type that implements Map or Collection, if using Java 2).
Cause: The parameter type of the method used to set the attribute getAttributeName() of DatabaseMapping is not declared as type Vector (or a type that implements the map or collection interface, if using Java 2).
Action: Declare the parameter type of the method used to set the attribute getAttributeName() of DatabaseMapping as type Vector (or a type that implements the Map or Collection interface, if using Java 2).
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00135: The multiple table foreign key relationship refers to an unknown table [{0}].
Cause: The table in the multiple table foreign key relationship refers to an unknown table.
Action: Verify the table name.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00138: The attribute [{0}] is not declared as a superclass of [{1}], but the mapping uses transparent indirection.
Cause: The attribute getAttributeName() of DatabaseMapping is not declared as a supertype of validTypeName, but the mapping is using transparent indirection.
Action: Verify the attribute's type and the mapping setup.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00139: The get method for the attribute [{0}] does not return a superclass of [{1}], but the mapping uses transparent indirection.
Cause: The return type of the method used to get the attribute getAttributeName() of DatabaseMapping is not declared as a super-type of validTypeName, but the mapping is using transparent indirection.
Action: Verify the attribute's type and the mapping setup.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00140: The set method for the attribute [{0}] does not take a superclass of [{1}] as its parameter, but the mapping uses transparent indirection.
Cause: The parameter type of the method used to set the attribute getAttributeName() of DatabaseMapping is not declared as a supertype of validTypeName, but the mapping is using transparent indirection.
Action: Verify the attribute's type and the mapping setup.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00141: The field [{0}] is not present in the table [{1}] in the database.
Cause: The field fieldname is not present in the table tableName in the database.
Action: Verify the field name for the attribute.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00142: The table [{0}] is not present in the database.
Cause: The table whose name is provided by the Descriptor method getTableName is not present in the database.
Action: Verify the table name for the descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00143: The multiple table insert order Vector specified, [{0}], has more or fewer tables than are specified in the descriptor. {2}All of the tables [{1}] must be included in the insert order Vector.
Cause: The multiple table insert order vector specified the Descriptor method getMultipleTableInsertOrder has fewer or more tables than are specified in the Descriptor method getTables. All the tables must be included in the insert order vector.
Action: Ensure that all table names for the descriptor are present and that there are no extra tables.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00144: Transparent indirection can only be used with CollectionMappings.
Cause: Transparent indirection is being used with a mapping other than a CollectionMapping.
Action: Verify the mapping. It must be a collection mapping.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00145: The indirect container class [{0}] must implement the constructor [{1}] with parameter (ValueHolderInterface).
Cause: The indirect container class does not implement the constructor.
Action: Implement the constructor for the container.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00146: The indirect container class [{0}] could not be instantiated using the constructor {1}(ValueHolderInterface).
Cause: TopLink is unable to instantiate the indirect container class using the constructor.
Action: Validate the constructor for the indirect container class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00147: The container policy [{0}] should only be used in JDK 1.1.x. It was instantiated for [{1}].
Cause: You have used a container policy with an incompatible version of the JDK. This container policy must only be used with JDK 1.3.1 or later.
Action: Validate the container policy being used.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00148: The container policy [{0}] is not compatible with transparent indirection.
Cause: The container policy is incompatible with transparent indirection.
Action: Change the container policy to be compatible with transparent indirection, or do not use transparent indirection.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00149: NoIndirectionPolicy objects should not receive this message.
Cause: NoIndirectionPolicy object calls this method.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00150: The mapping for the attribute [{0}] uses transparent indirection so the attribute [{0}] must be initialized to an appropriate container. Currently the value is [{1}]. {2} - Must be instance of an implementor of Collection or Map.
Cause: The mapping for the attribute getAttributeName() of DatabaseMapping uses transparent indirection and must be initialized to an appropriate container.
Action: Initialize the mapping to an appropriate container.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00151: The operation [{0}] is invalid for this mapping.
Cause: An invalid mapping operation has been used.
Action: See the documentation for valid mapping operations.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00152: The operation [{1}] is invalid for this indirection policy [{0}].
Cause: An invalid indirection policy operation has been used.
Action: See the documentation for valid indirection policy operations.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00153: The reference descriptor for [{0}] should be set to be an Aggregate Collection descriptor.
Cause: The reference descriptor for className is not set to an aggregate collection descriptor.
Action: Set the reference descriptor to an aggregate collection descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00154: The indirection container class [{0}] does not implement IndirectContainer.
Cause: An invalid indirection container class has been used.
Action: Verify the container class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00155: This mapping does not include a foreign key field linked to the primary key field [{0}].
Cause: The mapping does not include a foreign key field linked to the primary key field.
Action: Link the foreign key to the appropriate primary key.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00156: The structure name is not set for this mapping.
Cause: The structure name is not set.
Action: Set the structure name appropriately.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00157: Normal descriptors do not support non-relational extensions.
Cause: Relational descriptors do not support nonrelational extensions.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00158: This descriptor''s parent class has been set to itself.
Cause: The descriptor's parent class has been set to itself.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00159: Proxy indirection is available only in JDK 1.3-compliant or higher virtual machines.
Cause: An attempt to use proxy indirection has been made, but JDK 1.3.1 or later is not being used.
Action: Use JDK 1.3.1 or later.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00160: The attribute [{0}] of class [{1}] is typed as [{2}], which was not specified in the list of interfaces given to the useProxyIndirection() method. {4}Valid interfaces are: [{3}].
Cause: The attribute was not specified in the list of interfaces given to use proxy indirection.
Action: Verify the attribute.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00161: The method [{0}] in class [{1}] returns a value of type [{2}], which was not specified in the list of interfaces given to the useProxyIndirection() method. {4}Valid interfaces are: [{3}].
Cause: The return type for the indirection policy is invalid for the indirection policy.
Action: Ensure that the parameter type of the getter method is correct for the indirection policy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00162: The method [{0}] in class [{1}] takes a parameter of type [{2}], which was not specified in the list of interfaces given to the useProxyIndirection() method.{4}Valid interfaces are: [{3}].
Cause: The parameter for the setter method is incorrect for the indirection type.
Action: Ensure that the parameter type of the setter method is correct for the indirection policy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00163: This mapping''s attribute class does not match the collection class. [{1}] cannot be assigned to [{0}].
Cause: The container policy is invalid for the collection type.
Action: Ensure that the container policy is correct for the collection type.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00164: The amendment method [{1}], in amendment class [{0}], is invalid, not public, or cannot be found. {2}Descriptor amendment methods must be declared "public static void" with (ClassDescriptor) as the single parameter.
Cause: The amendment method that is provided is invalid, not public, or cannot be found.
Action: Ensure that the amendment method is public, static, returns void, and has a single argument: Descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00165: This descriptor''s amendment method [{1}] in amendment class [{0}] triggered an exception.
Cause: The specified amendment method threw an exception.
Action: Examine the returned exception for further information.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00166: There is no mapping for the attribute [{0}].
Cause: There is no mapping for the attribute.
Action: Validate the mapping and attribute.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00167: A valid constructor was not found for the indirection container class [{0}].
Cause: A valid constructor was not found for the indirection container class.
Action: Add a default constructor or a constructor with a ValueHolderInterface in the container class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00168: Problem in creating new instance using the default constructor. The default constructor triggered an exception.
Cause: The constructor is missing.
Action: Create the required constructor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00169: Problem in creating new instance of factory using the default constructor. The default constructor triggered an exception.
Cause: The constructor is missing.
Action: Create the required constructor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00170: Problem (illegal access) in creating new instance of factory using the default constructor.
Cause: Permissions do not allow access to the constructor.
Action: Adjust the Java security permissions to permit access to the constructor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00171: The factory class does not define a public default constructor, or the constructor raised an exception.
Cause: An instantiation failed inside the associated constructor.
Action: Determine which objects are being instantiated, and verify that all are instantiated properly.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00172: Factory constructor not found.
Cause: A method call from inside the constructor is invalid because this method does not exist.
Action: Ensure that the factory has a default constructor for the called method.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00173: The factory constructor was inaccessible.
Cause: A method on a null object was called from inside a constructor. The factory constructor was inaccessible.
Action: Examine the internal exception and take the appropriate action.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00174: Problem in creating factory. The creation method [{0}] is not accessible.
Cause: A method was called on an object from inside a factory instantiation, and Java has determined this method to be invalid.
Action: Determine why the method is invalid, and replace the method with a valid one.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00175: Problem creating factory using creation method [{0}]. The creation method triggered an exception.
Cause: A problem was encountered creating factory using creation method. The creation method triggered an exception.
Action: Examine the exception and take the corresponding action.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00176: Problem in creating factory using creation method [{0}]. The creation method is not accessible.
Cause: A method called to instantiate a factory threw a NullPointerException. The creation method is not accessible.
Action: Do not use that method to instantiate a factory.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00177: Mapping is missing for the attribute: [{0}].
Cause: Mapping is missing for the attribute attributeName.
Action: The attribute must be mapped.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00178: Cannot find mapping for attribute [{0}] in entity bean [{1}]. The attribute must mapped.
Cause: Cannot find mapping for an attribute attributeName in an entity bean beanName.
Action: Map the attribute.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00179: The attribute, [{0}] uses Bidirectional Relationship Maintenance, but has ContainerPolicy, [{1}] which does not support it. The attribute should be mapped with a different collection type.
Cause: The attribute uses bidirectional relationship maintenance, but has ContainerPolicy, which does not support it.
Action: The attribute must be mapped with a different collection type.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00181: The AttributeTransformer class, [{0}] cannot be found.
Cause: The AttributeTransformer class cannot be found.
Action: Ensure that the AttributeTransformer class exists and is on the classpath.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00182: The FieldTransformer class, [{0}] cannot be found.
Cause: The FieldTransformer class cannot be found.
Action: Ensure that the FieldTransformer class exists and is on the classpath.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00183: The class, [{0}] cannot be used as an AttributeTransformer.
Cause: Invalid use of a class className as an AttributeTransformer.
Action: Examine the internal exception stack trace and make the appropriate correction.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00184: The class, [{0}] cannot be used as a FieldTransformer.
Cause: Invalid use of a class className as a FieldTransformer.
Action: Do not use the class as a FieldTransformer.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00185: ReturningPolicy contains field, [{0}] with two different types: [{1}] and [{2}].
Cause: ReturningPolicy contains field with two different types.
Action: The field was added to ReturningPolicy twice with different types. The field must be added to ReturningPolicy once. You must remove excessive addFieldForInsert and/or addInsertField calls.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00186: ReturningPolicy contains field, [{0}] added twice: using addInsertField and addInsertFieldReturnOnly.
Cause: ReturningPolicy contains field that has been added twice using addInsertField and addInsertFieldReturnOnly.
Action: A field must be added to ReturningPolicy only once. You must remove excessive addField calls.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00187: ReturningPolicy contains field, [{0}] with type [{1}], but the same field in descriptor has type [{2}].
Cause: ReturningPolicy contains field with type Type, but the same field in descriptor has type differentType.
Action: Specify field type in addField method only in the event that it cannot be obtained from the descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00188: ReturningPolicy contains unmapped field, [{0}] which requires type.
Cause: ReturningPolicy contains unmapped field fieldName that requires type.
Action: You must specify field type in the addField method.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00189: ReturningPolicy contains mapped field, [{0}] which requires type.
Cause: ReturningPolicy contains mapped field fieldName that requires type.
Action: You must specify field type in the addField method.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00190: ReturningPolicy contains field, [{0}] mapped with [{1}] mapping which is not supported.
Cause: ReturningPolicy contains a field that is mapped with unsupported mapping.
Action: You cannot use ReturningPolicy with this field. Do not add it to ReturningPolicy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00191: ReturningPolicy contains field, [{0}] which is not supported: it is either sequence field, or class type indicator, or used for locking.
Cause: ReturningPolicy contains a field fieldName that is not supported. Field is either sequence field, class type indicator, or used for locking.
Action: You cannot use ReturningPolicy with this field. Do not add it to ReturningPolicy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00192: ReturningPolicy contains field, [{0}] but custom [{1}] doesn't output it.
Cause: ReturningPolicy contains a field fieldName, but custom query queryName does not output it.
Action: Update the custom query so that it outputs a value for this field.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00193: There is no custom [{0}] set, but ReturningPolicy contains field(s) to be returned and [{1}] doesn't support generating call with returning.
Cause: There is no custom query set, but ReturningPolicy contains one or more fields to be returned and doesn't support generating call with return.
Action: Specify a custom InsertObjectQuery or UpdateObjectQuery through DescriptorQueryManager setInsertQuery, setInsertCall, setUpdateQuery, or setUpdateCall methods that outputs values for fields added to ReturningPolicy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00194: The class extraction method [{0}], must be a static method on the descriptor's class.
Cause: The class extraction method must be a static method on the descriptor's class.
Action: Make the class extraction method a static method on the descriptor's class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00195: The shared class {1} must not reference the isolated class {0}.
Cause: The shared class must not reference the isolated class.
Action: Ensure that the shared class does not reference the isolated class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00196: UpdateAllFields has not been set or has been set to false. When using CMPPolicy.setForceUpdate(true) you must also call CMPPolicy.setUpdateAllFields(true)
Cause: updateAllFields flag has not been set or has been set to false. When using setForceUpdate(true) method of CMPPolicy you must also call setUpdateAllFields(true) method of CMPPolicy.
Action: Ensure that updateAllFields is set to true if forceUpdate is true.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00197: The mapping [{0}] is not the appropriate type for this descriptor
Cause: A mapping of an inappropriate type has been set for this descriptor.
Action: The mapping type has to map the descriptor type, e.g. relational mapping for relational descriptor, EIS mapping for EIS descriptor, and XML mapping for XML descriptor.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00198: In order to use ObjectChangeTrackingPolicy or AttributeChangeTrackingPolicy, {0} has to implement ChangeTracker interface.
Cause: The object does not implement the ChangeTracker interface.
Action: Ensure that the object implements ChangeTrackerInterface in order to use ObjectChangeTrackingPolicy or AttributeChangeTrackingPolicy.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00199: In order to use Fetch Group, the domain class ({0}) has to implement FetchGroupTracker interface.
Cause: The domain class does not implement the FetchGroupTracker interface.
Action: Ensure that the domain class implements the FetchGroupTracker interface in order to use the fetch group.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00200: Attempt to register an object with dead indirection as a new object. Possibly the object was deleted or removed from the cache during a merge of a serialized clone. This is a concurrency violation, consider a locking strategy.
Cause: Attempt to register an object with dead indirection as a new object. Possibly, the object was deleted or removed from the cache during a merge of a serialized clone or did not exist in the cache at the time of the merge. This is a concurrency violation.
Action: Ensure that the object exists in the cache before attempting to merge a deserialized version into the cache. Consider a locking strategy. For more information, see "Merging Changes in Working Copy Clones" on page 112-12 and "Indirection, Serialization, and Detachment" on page 17-11.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-00201: An object was attempted to be built in the session cache, but the descriptor is marked as isolated in the unit of work, so should never be accessed outside of a unit of work.
Cause: Attempt to built and object in the session cache, but the descriptor is marked as isolated in the unit of work.
Action: Ensure that the descriptor is never accessed outside of a unit of work.
Level: 1
Type: ERROR
Impact: Configuration

Concurrency Exceptions (2001 – 2009)

ConcurrencyException is a development exception that is raised when a Java concurrency violation occurs. Only when a running thread is interrupted, causing the JVM to throw an InterruptedException, is an internal exception information displayed with the error message, as this exampleshows.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message
INTERNAL EXCEPTION: Message


Concurrency Exception

EXCEPTION [ECLIPSELINK – 2004]: org.eclipse.persistence.exceptions.ConcurrencyException
EXCEPTION DESCRIPTION: Signal attempted before wait on concurrency manager. 
This usually means that an attempt was made to commit or roll back a transaction before being started, or rolled back twice.




ECLIPSELINK-02001: Wait was interrupted. {0}Message: [{1}]
Cause: In a multi threaded environment, one of the waiting threads was interrupted.
Action: Such exceptions are application-dependent.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02002: Wait failure on ServerSession.
Cause: A request for a connection from the connection pool has been forced to wait, and that wait has been interrupted.
Action: Such exceptions are application-dependent.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02003: Wait failure on ClientSession.
Cause: A request for a connection from the connection pool has been forced to wait, and that wait has been interrupted.
Action: Such exceptions are application-dependent.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02004: A signal was attempted before wait() on ConcurrencyManager. This normally means that an attempt was made to {0}commit or rollback a transaction before it was started, or to rollback a transaction twice.
Cause: A signal was attempted before a wait on concurrency manager. This usually means that an attempt was made to commit or roll back a transaction before it was started, or to rollback a transaction twice.
Action: Verify transactions in the application.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02005: Wait failure on Sequencing Connection Handler for DatabaseSession.
Cause: An InterruptedException was raised while DatabaseSession sequencing waited for a separate connection to become available.
Action: Examine concurrency issues involving object creation with your DatabaseSession.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02006: Attempt to acquire sequencing values through a single Connection({0}) simultaneously in multiple threads
Cause: Several threads attempted to concurrently obtain sequence objects from the same DatabaseSession or ClientSession.
Action: Avoid concurrent writing through the same DatabaseSession or ClientSession.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02007: Max number of attempts to lock object: {0} exceded. Failed to clone the object.
Cause: Maximum number of attempts to lock object was exceed resulting in a failure to clone the object.
Action: Ensure that the number of attempts is within the limit.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02008: Max number of attempts to lock object: {0} exceded. Failed to merge the transaction.
Cause: Maximum number of attempts to lock object was exceed resulting in a failure to merge the transaction.
Action: Ensure that the number of attempts is within the limit.
Level: 1
Type: ERROR
Impact: Threads


ECLIPSELINK-02009: Max number of attempts to lock object exceded. Failed to build the object. Thread: {0} has a lock on the object but thread: {1} is building the object
Cause: Maximum number of attempts to lock object was exceed resulting in a failure to build the object: thread threadNumber has a lock on the object, but thread anotherThreadNumber is building the object
Action: Ensure that the number of attempts is within the limit.
Level: 1
Type: ERROR
Impact: Threads

Conversion Exceptions (3001– 3008)

ConversionException is a development exception that is raised when a conversion error occurs by an incompatible type conversion. The message that is returned indicates which type cast caused the exception.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message
INTERNAL EXCEPTION: Message


Conversion Exception

EXCEPTION [ECLIPSELINK – 3006]: org.eclipse.persistence.exceptions.ConversionException
EXCEPTION DESCRIPTION: object must be of even length to be converted to a ByteArray




ECLIPSELINK-03001: The object [{0}], of class [{1}], could not be converted to [{2}].
Cause: Attempt to convert an object object of class ObjectClass to JavaClass. The object cannot be converted to a given type.
Action: Ensure that the object being converted is of the right type.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03002: The object [{0}], of class [{1}], from mapping [{2}] with descriptor [{3}], could not be converted to [{4}].
Cause: Attempt to convert an object object of class ObjectClass from mapping mappingType to JavaClass. The object cannot be converted to a given type.
Action: Ensure that the object being converted is of the right type.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03003: Incorrect date format: [{0}] (expected [YYYY-MM-DD])
Cause: The date in dateString is in an incorrect format. The expected format is YYYY-MM-DD.
Action: Verify the date format.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03004: Incorrect time format: [{0}] (expected [HH:MM:SS])
Cause: The time in timeString is in an incorrect format. The expected format is HH:MM:SS.
Action: Verify the time format.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03005: Incorrect timestamp format: [{0}] (expected [YYYY-MM-DD HH:MM:SS.NNNNNNNNN])
Cause: The timestamp timestampString is in an incorrect format. The expected format is YYYY-MM-DD HH:MM:SS.NNNNNNNNN.
Action: Verify the timestamp format.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03006: [{0}] must be of even length to be converted to a byte array.
Cause: Attempt to convert String object of uneven length to a ByteArray. This object cannot be converted to a ByteArray.
Action: Verify the object being converted.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03007: The object [{0}], of class [{1}], could not be converted to [{2}]. Please ensure that the class [{0}] is on the CLASSPATH. You may need to use alternate API passing in the appropriate class loader as required, or setting it on the default ConversionManager
Cause: Attempt to convert an object object of class ObjectClass to JavaClass. The class JavaClass is not on the classpath.
Action: Ensure that the class JavaClass is on the classpath.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-03008: Incorrect date-time format: [{0}] (expected [YYYY-MM-DD'T'HH:MM:SS])
Cause: Incorrect date-time format object. The expected format is YYYY-MM-DD'T'HH:MM:SS.
Action: Ensure that the date-time object is in the expected format of YYYY-MM-DD'T'HH:MM:SS.
Level: 1
Type: ERROR
Impact: Programmatic

Database Exceptions (4003 – 4018)

DatabaseException is a run-time exception that is raised when data read from the database, or the data that is to be written to the database, is incorrect. The exception may also act as a wrapper for SQLException. If this is the case, the message contains a reference to the error code and error message, as shown in this example

This exception can occur on any database operation. If an execution of a SQL script is involved in a database operation causing DatabaseException, the exception's message, accessible through the getMessage method, contains the SQL that caused this exception.

This exception includes internal exception and error code information when the exception is wrapping a SQLException.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message
INTERNAL EXCEPTION: Message
ERROR CODE: Error code


Database Exception

EXCEPTION [ECLIPSELINK – 4002]: org.eclipse.persistence.exceptions.DatabaseException
EXCEPTION DESCRIPTION: java.sql.SQLException: [INTERSOLV][ODBC dBase driver] Incompatible datatypes in expression: >

INTERNAL EXCEPTION: java.sql.SQLException: [INTERSOLV][ODBC dBase driver] Incompatible datatypes in expression: >
ERROR CODE: 3924



ECLIPSELINK-04003: Configuration error. Class [{0}] not found.
Cause: The driver class name was not found.
Action: Verify the class name given in JDBCLogin.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04005: DatabaseAccessor not connected.
Cause: The session is not connected to the database while attempting to read or write on the database.
Action: An application may have to log in again because the connection to the database might have been lost.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04006: Error reading BLOB data from stream in getObject().
Cause: An error occurred reading BLOB data from the database. There are two possibilities for this exception: either the BLOB data was not read properly from the result set or TopLink cannot process the BLOB data using ByteArrayOutputStream.
Action: Verify whether the underlying driver supports BLOBs properly. If it does, then report this problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04007: Could not convert object type due to an internal error. {0}java.sql.TYPES: [{1}]
Cause: Attempt to convert an object type on internal error.java.sql.TYPES = type. The object from the result set cannot be converted to the type that was returned from the metadata information.
Action: Verify whether the underlying driver supports the conversion type properly. If it does, then report this problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04008: You cannot logout while a transaction is in progress.
Cause: Attempt to log out while the transaction is still in progress. You cannot log out while a transaction is in progress.
Action: Wait until the transaction is finished.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-04009: The sequence table information is not complete.
Cause: The sequence information given to TopLink is not sufficiently complete to get the set of sequence numbers from the database. This usually happens on native sequencing on an Oracle database.
Action: Verify the data provided, especially the sequence name provided in TopLink.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04011: Error preallocating sequence numbers. The sequence table information is not complete.
Cause: An error occurred preallocating sequence numbers on the database; the sequence table information is not complete.
Action: Ensure the sequence table was properly created on the database.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04015: Synchronized UnitOfWork does not support the commitAndResume() operation.
Cause: A synchronized UnitOfWork does not support the commitAndResume operation. When the TopLink session is configured with an ExternalTransactionController, any unit of work requested by a client must operate within the context of a JTS external global transaction (see ). The JTS specification does not support the concept of check pointing a transaction-that is, committing the work performed and then continuing to work within the same transaction context. JTS does not support nested transactions, either. As a result, if a client code invokes commitAndResume on a synchronized unit of work, this error is reported.
Action: None required.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-04016: Configuration error. Could not instantiate driver [{0}].
Cause: A configuration error occurred when TopLink attempted to instantiate the given driver class. TopLink cannot instantiate the driver.
Action: Check the driver.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04017: Configuration error. Could not access driver [{0}].
Cause: A configuration error occurred when TopLink attempted to instantiate the given driver class. TopLink cannot instantiate the driver.
Action: Check the driver.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-04018: The TransactionManager has not been set for the JTS driver.
Cause: The transaction manager has not been set for the JTSSynchronizationListener.
Action: Set a transaction manager for the JTSSynchronizationListener.
Level: 1
Type: ERROR
Impact: Configuration

Optimistic Lock Exceptions (5001 – 5009)

OptimisticLockException is a run-time exception that is raised when the row on the database that matches the desired object is missing or when the value on the database does not match the registered number. It is used in conjunction with the optimistic locking feature. This applies only on an update or delete operation, as shown in this example.

For more information about optimistic locking, see the section on optimistic locking in a stateless environment in Introduction to EclipseLink Application Development. These exceptions should be handled in a try-catch block.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception Name
EXCEPTION DESCRIPTION: Message


Optimistic Lock Exception

EXCEPTION [ECLIPSELINK – 5003]: org.eclipse.persistence.exceptions.OptimisticLockException
EXCEPTION DESCRIPTION: The object, object.toString() cannot be deleted because it has changed or been deleted since it was last read.



ECLIPSELINK-05001: An attempt was made to delete the object [{0}], but it has no version number in the identity map. {3}It may not have been read before the delete was attempted. {3}Class> {1} Primary Key> {2}
Cause: Attempt to delete the object object that does not have a version number in the identity map. This object either was never read or has already been deleted.
Action: Use SQL logging to determine the reason for the exception. The last delete operation shows the object being deleted when the exception was raised.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-05003: The object [{0}] cannot be deleted because it has changed or been deleted since it was last read. {3}Class> {1} Primary Key> {2}
Cause: The object state has changed in the database. The object object cannot be deleted because it has changed or been deleted since it was last read. This usually means that the row in the table was changed by some other application.
Action: Refresh the object, which updates it with the new data from the database.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-05004: An attempt was made to update the object [{0}], but it has no version number in the identity map. {3}It may not have been read before the update was attempted. {3}Class> {1} Primary Key> {2}
Cause: An attempt has been made to update the object object that does not have a version number in the identity map. It may not have been read before being updated, or it has been deleted.
Action: Use SQL logging to determine the reason for the exception. The last update operation shows the object being updated when the exception was raised.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-05006: The object [{0}] cannot be updated because it has changed or been deleted since it was last read. {3}Class> {1} Primary Key> {2}
Cause: The object state has changed in the database. The object object cannot be updated because it has changed or been deleted since it was last read. This usually means that the row in the table was changed by some other application.
Action: Refresh the object, which updates it with the new data from the database.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-05007: The object [{0}] must have a non-read-only mapping to the version lock field.
Cause: The object object does not have a non-read-only mapping corresponding to the version lock field. The mapping, which is needed when the lock value is stored in the domain object rather than in a cache, was not defined for the locking field.
Action: Define a mapping for the field.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-05008: Must map the version lock field to java.sql.Timestamp when using Timestamp Locking
Cause: A write lock value that is stored in a domain object is not an instance of java.sql.Timestamp.
Action: Change the value of the attribute to be an instance of java.sql.Timestamp.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-05009: The object of class [{1}] with primary key [{0}] cannot be unwrapped because it was deleted since it was last read.
Cause: Attempt to unwrapped an object of class className with primary key key-the object was deleted since it had been last read.
Action: Ensure the existence of the object being upwrapped.
Level: 1
Type: ERROR
Impact: Programmatic

Query Exceptions (6001 – 6129)

QueryException is a development exception that is raised when insufficient information has been provided to the query. If possible, the message indicates the query that caused the exception. A query is optional and is displayed if EclipseLink is able to determine the query that caused this exception, as shown in this example

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message
QUERY:


Query Exception

EXCEPTION [ECLIPSELINK – 6026]: org.eclipse.persistence.exceptions.QueryException
EXCEPTION DESCRIPTION: The query is not defined. When executing a 
query on the session, the parameter that takes the query is null.



ECLIPSELINK-06001: Cursored SQL queries must provide an additional query to retrieve the size of the result set.
Cause: Additional size-retrieving query was not specified: cursored SQL queries must provide an additional query to retrieve the size of the result set. Failure to include the additional query causes this exception.
Action: Specify a size query.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-06002: Aggregated objects cannot be written/deleted/queried independently from their owners. {1}Descriptor: [{0}]
Cause: An aggregated object was deleted independently of its owner: aggregate objects cannot be written or deleted independent of their owners. No identity is maintained on such objects.
Action: Do not try to delete aggregate objects directly.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06003: The number of arguments provided to the query for execution does not match the number of arguments in the query definition.
Cause: The number of arguments provided to the query for execution does not match the number of arguments provided with the query definition.
Action: Check the query and the query execution.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06004: The object [{0}], of class [{1}], with identity hashcode (System.identityHashCode()) [{2}], {3}is not from this UnitOfWork object space, but the parent session''s. The object was never registered in this UnitOfWork, {3}but read from the parent session and related to an object registered in the UnitOfWork. Ensure that you are correctly{3}registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() method to {3}help debug where the error occurred. For more information, see the manual or FAQ.
Cause: The object clone of class clone.getClass() with identity hash code (System.identityHashCode()) (System.identityHashCode(clone)) is not from this unit of work space, but from the parent session. The object was never registered in this unit of work, but read from the parent session and related to an object registered in the unit of work.
Action: Verify that you are correctly registering your objects. If you are still having problems, use the validateObjectSpace method of the UnitOfWork to help debug where the error occurred.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06005: The object [{0}], of class [{1}], with identity hashcode (System.identityHashCode()) [{2}], {3}is the original to a registered new object. The UnitOfWork clones registered new objects, so you must ensure that an object {3}is registered before it is referenced by another object. If you do not want the new object to be cloned, use the{3}UnitOfWork.registerNewObject(Object) API. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() {3}method to help debug where the error occurred. For more information, see the manual or FAQ.
Cause: The object clone of class clone.getClass() with identity hash code (System.identityHashCode()) (System.identityHashCode(clone)) is the original to a registered new object. Because the unit of work clones new objects that are registered, ensure that an object is registered before it is referenced by another object. If you do not want the new object to be cloned, use the registerNewObject(Object) method of the UnitOfWork.
Action: Verify that you are correctly registering your objects. If you are still having problems, use the validateObjectSpace method of the UnitOfWork to help debug where the error occurred.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06006: The mapping [{0}] does not support batch reading.
Cause: The mapping that does not support batch reading was used. The optimization of batch reading all the target rows is not supported for the mapping.
Action: The problem is a TopLink development problem, and you should never encounter this error code unless the mapping is a new custom mapping. Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06007: Missing descriptor for [{0}].
Cause: The descriptor for the reference class is missing. The descriptor related to the class or the object is not found in the session.
Action: Verify whether or not the related descriptor was added to the session, and whether or not the query is performed on the right object or class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-06008: Missing descriptor for [{0}] for query named [{1}].
Cause: The descriptor DomainClassName for the query named queryName is missing. The descriptor where named query is defined is not added to the session.
Action: Verify whether or not the related descriptor was added to the session, and whether or not the query is performed on the right class.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-06013: Incorrect size query given to CursoredStream.
Cause: The size query given on the queries returning cursor streams is not correct. The execution of the size query did not return any size.
Action: If the cursor stream query was a custom query, then check the size of the query that was specified, or report this problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-06014: Objects cannot be written during a UnitOfWork, they must be registered.
Cause: Attempt to write an object in a unit of work using modify queries. These objects must be registered.
Action: Prior to modification, register objects in the unit of work, so during commit the unit of work can perform the required changes to the database.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06015: Invalid query key [{0}] in expression.
Cause: The query key key does not exist. Usually this happens because of a misspelled query key.
Action: Check the query key that was specified in the expression and verify that a query key was added to the descriptor.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06016: Objects or the database cannot be changed through a ServerSession. All changes must be done through a ClientSession''s UnitOfWork.
Cause: Attempt to change an object or a database through the server session: all changes must be performed through a client session's unit of work. The objects cannot be changed on the server session by modifying queries. Objects are changed in the client sessions that are acquired from this server session.
Action: Use the client session's unit of work to change the object.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06020: No concrete class indicated for the type in the row [{0}].
Cause: No concrete class is indicated for the type in this row. The type indicator read from the database row has no entry in the type indicator hash table or if class extraction method was used, it did not return any concrete class type. The exception is raised when subclasses are being read.
Action: Check the class extraction method, if specified, or check the descriptor to verify all the type indicator values were specified.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-06021: Cursors are not supported for interface descriptors, or abstract class multiple table descriptors using expressions. Consider using custom SQL or multiple queries.
Cause: No cursor support is provided for abstract class multiple table descriptors using expressions.
Action: Consider using custom SQL or multiple queries.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06023: The list of fields to insert into the table [{0}] is empty. You must define at least one mapping for this table.
Cause: There are no fields to be inserted into the table. The fields to insert into the table table, are empty.
Action: Define at least one mapping for this table.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06024: Modify queries require an object to modify.
Cause: An object to modify has not been specified for a modify query.
Action: Verify that the query contains an object before executing.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06026: Query named [{0}] is not defined. Domain class: [{1}]
Cause: The query is not defined. When executing a query on the session, the parameter that takes the query is null.
Action: Verify that the query is passed properly.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06027: Query sent to a unactivated UnitOfWork.
Cause: The unit of work has been released and is now inactive.
Action: The unit of work, once released, cannot be reused unless the commitAndResume method is called.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06028: An attempt to read beyond the end of stream occurred.
Cause: Attempt to read from the cursor streams beyond its limits (beyond the end of the stream).
Action: Ensure that the stream is checked for an end of stream condition before attempting to retrieve more objects.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06029: A reference class must be provided.
Cause: The reference class in the query is not specified: a reference class must be provided.
Action: Ensure that the query is correct.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06030: Refreshing is not possible if caching is not enabled.
Cause: Attempt to refresh while the caching is not set: the read queries that skip the cache to read objects cannot be used to refresh the objects. Refreshing is not possible without identity.
Action: Ensure that the query is correct.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06031: size() is only supported on expression queries, unless a size query is given.
Cause: TopLink did not find a size query. Size is supported only on expression queries unless a size query is given.
Action: The cursor streams on a custom query should also define a size query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06032: The SQL statement has not been properly set.
Cause: The SQL statement has not been properly set. The user should never encounter this error code unless queries have been customized.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Configuration


ECLIPSELINK-06034: Invalid query item expression [{0}].
Cause: TopLink is unable to validate a query item expression.
Action: Validate the expression being used.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06041: The selection object passed to a ReadObjectQuery was null.
Cause: The selection object that was passed to a ReadObjectQuery (or refresh) was null.
Action: Check setSelectionObject method on read query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06042: A session name must be specified for non-object-level queries. See the setSessionName(String) method.
Cause: Data read and data modify queries are being executed without the session name. Only object-level queries can be directly executed by the session broker, unless the query is named.
Action: Specify the session name.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06043: ReportQueries without primary keys cannot use readObject(). {1}ReportQueryResult: [{0}].
Cause: Attempt to read the object by a ReportQuery without a primary key: the report query result that was returned is without primary key values. An object from the result can be created only if primary keys were also read.
Action: See the documentation about retrievePrimaryKeys method on report query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06044: The primary key read from the row [{0}] during the execution of the query was detected to be null. Primary keys must not contain null.
Cause: The primary key that was read from the row databaseRow during the execution of the query was detected to be null: primary keys must not contain null.
Action: Check the query and the table on the database.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06045: The subclass [{0}], indicated in the row while building the object, has no descriptor defined for it.
Cause: The subclass has no descriptor defined for it.
Action: Ensure the descriptor was added to the session, or check class extraction method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06046: Cannot delete an object of a read-only class. The class [{0}] is declared as read-only in this UnitOfWork.
Cause: Attempt to delete a read-only class.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06047: Invalid operator [{0}] in expression.
Cause: The operator used in the expression is not valid.
Action: Check ExpressionOperator class to see a list of all the operators that are supported.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06048: Illegal use of getField() [{0}] in expression.
Cause: Invalid use of getField method's data in the expression. This is a TopLink development exception that you should not encounter.
Action: Report this problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06049: Illegal use of getTable() [{0}] in expression.
Cause: Invalid use of getTable method's data in the expression. This is a TopLink development exception that you should not encounter.
Action: Report this problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06050: ReportQuery result size mismatch. Expecting [{0}], but retrieved [{1}]
Cause: The number of attributes requested does not match the attributes returned from the database in report query. This can happen as a result of a custom query on the report query.
Action: Check the custom query to ensure it is specified, or report the problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06051: Partial object queries are not allowed to maintain the cache or be edited. You must use dontMaintainCache().
Cause: Attempt to cache a partial object: partial objects are never put in the cache. Partial object queries are not allowed to maintain the cache or to be edited. Use the dontMaintainCache method.
Action: Call the dontMaintainCache method before executing the query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06052: An outer join (getAllowingNull or anyOfAllowingNone) is only valid for OneToOne, OneToMany, ManyToMany, AggregateCollection and DirectCollection Mappings, and cannot be used for the mapping [{0}].
Cause: Invalid use of an outer join: an outer join (getAllowingNull method) is valid only for one-to-one mappings and cannot be used for the mapping.
Action: Do not attempt to use the getAllowingNull method for mappings other than one-to-one.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06054: Cannot add the object [{0}], of class [{1}], to container class [{2}] using policy [{3}].
Cause: TopLink is unable to add an object to a container class using policy. This is TopLink development exception, and you should never encounter this problem unless a custom container policy has been written.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06055: The method invocation of the method [{0}] on the object [{1}], of class [{2}], triggered an exception.
Cause: The invocation of a method on the object anObject threw a Java reflection exception while accessing the method.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06056: Cannot create a clone of object [{0}], of class [{1}], using [{2}].
Cause: Attempt to create a clone of the object anObject using policy. This is a TopLink development exception, and you should never encounter this problem unless a custom container policy has been written.
Action: Report this problem to Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06057: The method [{0}] is not a valid method to call on object [{1}].
Cause: Invalid call of the method methodName on object aReceiver. This is a TopLink development exception, and you should never encounter this problem unless a custom container policy has been written.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06058: The method [{0}] was not found in class [{1}].
Cause: The method named methodName was not found in the class aClass. This exception is raised when looking for a clone method on the container class. The clone is needed to create clones of the container in unit of work.
Action: Define a clone method on the container class.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06059: The class [{0}] cannot be used as the container for the results of a query because it cannot be instantiated.
Cause: Attempt to instantiate a class aClass as the container for the results of a query-this class cannot be instantiated as a container. The exception is a Java exception that is raised when a new interface container policy is being created using Java reflection. TopLink wraps only the Java exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06060: Could not use object [{0}] of type [{1}] as a key into [{2}] of type [{3}]. The key cannot be compared with the keys currently in the Map.
Cause: Attempt to use the object anObject of type ObjectClass as a key into aContainer which is of type ContainerClass. The key cannot be compared with the keys currently in the map. This raises a Java reflection exception while accessing the method. TopLink wraps only the Java exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06061: Cannot reflectively access the method [{0}] for object [{1}], of class [{2}].
Cause: Attempt to reflectively access the method aMethod for object: anObject of type ObjectClass. This raises a Java reflection exception while accessing the method. TopLink wraps only the Java exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06062: The method [{0}], called reflectively on object [{1}], of class [{2}], triggered an exception.
Cause: The method aMethod was called reflectively on objectClass and threw an exception. The method aMethod raises a Java reflection exception while accessing a method. TopLink wraps only the Java exception.
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06063: Invalid operation [{0}] on cursor.
Cause: Invalid operation operationName on the cursor. The operation is not supported.
Action: Check the class documentation and look for the corresponding method to use.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06064: Cannot remove the object [{0}], of class [{1}], from container class [{2}] using policy [{3}].
Cause: Attempt to remove anObject of type anObjectClass from aContainerClass using policy. This is a TopLink development exception and you should never encounter this problem unless a custom container policy has been written.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06065: Cannot add the object [{0}], of class [{1}], to container [{2}].
Cause: Attempt to add an element to the collection container policy (cannot add object anObject of type ObjectClass to a ContainerClass).
Action: Inspect the internal exception, and refer to the Java documentation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06066: The object [{0}], of class [{1}], with identity hashcode (System.identityHashCode()) [{2}], {3}has been deleted, but still has references. Deleted objects cannot be referenced after being deleted. {3}Ensure that you are correctly registering your objects. If you are still having problems, you can use the UnitOfWork.validateObjectSpace() {3}method to help debug where the error occurred. For more information, see the manual or FAQ.
Cause: Object references remained after the deletion of the object: the object clone of class clone.getClass with identity hash code (System.identityHashCode()) (System.identityHashCode(clone)) has been deleted, but it still has references.
Action: Ensure that you are correctly registering your objects. If you are still having problems, use the validateObjectSpace() method of the UnitOfWork to help identify where the error occurred.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06068: Cannot compare table reference to [{0}] in expression.
Cause: Attempt to compare table reference to data in expression.
Action: Check the expression.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06069: The field [{0}] in this expression has an invalid table in this context.
Cause: Field has invalid table in this context for field fieldName in expression.
Action: Check the expression.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06070: Invalid use of a query key [{0}] representing a "to-many" relationship in an expression. Use anyOf() rather than get().
Cause: Invalid use of a query key representing a one-to-many relationship in expression.
Action: Use the anyOf operator instead of the get operator.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06071: Invalid use of anyOf() for a query key [{0}] not representing a to-many relationship in an expression. Use get() rather than anyOf().
Cause: Invalid use of anyOf for a query key not representing a to-many relationship in expression.
Action: Use the get operator instead of the anyOf operator.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06072: Querying across a VariableOneToOneMapping is not supported. {2}Descriptor: [{0}] {2}Mapping: [{1}]
Cause: Attempt to query across a variable one-to-one mapping. This is not supported.
Action: Change the expression such that the query is not performed across a variable one-to-one mapping.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06073: Malformed expression in query. Attempting to print an object reference into an SQL statement for query key [{0}].
Cause: Ill-formed expression in query that is attempting to print an object reference into a SQL statement for queryKey.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06074: This expression cannot determine if the object conforms in memory. You must set the query to check the database.
Cause: Expression cannot determine if the object conforms in memory.
Action: Set the query to check the database; change the query such that it does not attempt to conform to the results of the query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06075: Object comparisons can only use the equal() or notEqual() operators. Other comparisons must be done through query keys or direct attribute level comparisons. {1}Expression: [{0}]
Cause: Invalid operator was used for the object comparison: object comparisons can use only the equal or notEqual operators; other comparisons must be performed through query keys or direct attribute level comparisons.
Action: Ensure the query uses only equal and notEqual if object comparisons are being used.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06076: Object comparisons can only be used with OneToOneMappings. Other mapping comparisons must be done through query keys or direct attribute level comparisons. {2}Mapping: [{0}] {2}Expression: [{1}]
Cause: Unsupported type of mapping was used for the object comparison: object comparisons can be used only with one-to-one mappings; other mapping comparisons must be performed through query keys or direct attribute level comparisons.
Action: Use a query key instead of attempting to compare objects across the mapping.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06077: Object comparisons cannot be used in parameter queries. You must build the expression dynamically. {1}Expression: [{0}]
Cause: Object comparison was parameterized: object comparisons cannot be used in parameter queries.
Action: Change the query so that it does not attempt to use objects when using parameterized queries.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06078: The class of the argument for the object comparison is incorrect. {3}Expression: [{0}] {3}Mapping: [{1}] {3}Argument: [{2}]
Cause: An incorrect class of the argument was used for the object comparison.
Action: Ensure the class for the query is correct.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06079: Object comparison cannot be used for target foreign key relationships. Query on the source primary key instead. {3}Expression: [{0}] {3}Mapping: [{1}] {3}Argument: [{2}]
Cause: Object comparison was used for target foreign key relationships: object comparisons cannot be used for target foreign key relationships
Action: Query on the source primary key.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06080: Invalid database call [{0}]. The call must be an instance of DatabaseCall.
Cause: Invalid database call: the call must be an instance of DatabaseCall.
Action: Ensure the call being used is a DatabaseCall.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06081: Invalid database accessor [{0}]. The accessor must be an instance of DatabaseAccessor.
Cause: Invalid database accessor: the accessor must be an instance of DatabaseAccessor.
Action: Ensure the accessor being used is a DatabaseAccessor.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06082: The method [{0}] with argument types [{1}] cannot be invoked on Expression.
Cause: The nonexisting method methodName with argument type argTypes was invoked on an expression.
Action: Ensure the method being used is a supported method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06083: Queries using in() cannot be parameterized. Disable either query preparation or binding.
Cause: The query that was using IN was parameterized: queries using IN cannot be parameterized.
Action: Disable the query prepare or binding.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06084: The redirection query was not configured properly. The class or method name was not set.
Cause: The redirection query was not configured properly: the class or method name was not set.
Action: Verify the configuration for the redirection class.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06085: The redirection query''s method is not defined or defined with the wrong arguments. It must be declared "public static" and have arguments (DatabaseQuery, Record, Session) or (Session, Vector). {2}Class: [{0}] {2}Method: [{1}]
Cause: The redirection query's method is not defined or it is defined with the wrong arguments. It must be public static and have the following arguments: DatabaseQuery, DatabaseRow, or Session (the interface).
Action: Check the redirection query's method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06086: The redirection query''s method invocation triggered an exception.
Cause: The static invoke method provided to MethodBaseQueryRedirector threw an exception when invoked.
Action: Check the static invoke method for problems.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06087: The example object class [{0}] does not match the reference object class [{1}].
Cause: There is a class mismatch between the example object and the reference class specified for this query.
Action: Ensure that the example and reference classes are compatible.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06088: There are no attributes for the ReportQuery.
Cause: A ReportQuery has been built with no attributes specified.
Action: Specify the attribute for the query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06089: The expression has not been initialized correctly. Only a single ExpressionBuilder should be used for a query. {1}For parallel expressions, the query class must be provided to the ExpressionBuilder constructor, and the query''s ExpressionBuilder must {1}always be on the left side of the expression. {1}Expression: [{0}]
Cause: The expression has not been initialized correctly. Only a single ExpressionBuilder should be used for a query. For parallel expressions, the query class must be provided to the ExpressionBuilder constructor, and the query's ExpressionBuilder must always be on the left side of the expression.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06090: Cannot set ReportQuery to "check cache only".
Cause: The checkCacheOnly method was invoked on a ReportQuery. You cannot invoke the checkCacheOnly method on a ReportQuery, because a ReportQuery returns data rather than objects and the TopLink cache is built with objects.
Action: Do not use a ReportQuery in this case.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06091: The type of the constant [{0}], used for comparison in the expression, does not match the type of the attribute [{1}].
Cause: The type of the constant used for comparison in the expression does not match the type of the attribute.
Action: Contact Oracle Support Services.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06092: Uninstantiated ValueHolder detected. You must instantiate the relevant Valueholders to perform this in-memory query.
Cause: Uninstantiated value holders have been detected.
Action: Instantiate the value holders for the collection on which you want to query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06094: The parameter name [{0}] in the query''s selection criteria does not match any parameter name defined in the query.
Cause: An unmapped field was used in a parameterized expression.
Action: Map the field or define an alternate expression that does not rely on the unmapped field.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06095: Public clone method is required.
Cause: A delegate class of an IndirectContainer implementation does not implement Cloneable. If you implement IndirectContainer you must also implement Cloneable. For example, see oracle.toplink.indirection.IndirectSet. The clone method must clone the delegate. For example, the IndirectSet implementation uses reflection to invoke the clone method because it is not included in the common interface shared by IndirectSet and its base delegate class, HashSet.
Action: Ensure that your IndirectContainer implementation or its delegate class implements Cloneable.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06096: Clone method is inaccessible.
Cause: A delegate class of an IndirectContainer implementation implements Cloneable but the IndirectContainer implementation does not have access to the specified clone method. That is, a java.lang.IllegalAccessException is raised when the delegate's clone method is invoked.
Action: Ensure that both the delegate clone method and the delegate class are public. Ensure permission is set for Java reflection in your VM security settings. See also the invoke method of java.lang.reflect.Method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06097: clone method threw an exception: {0}.
Cause: A delegate class of an IndirectContainer implementation implements Cloneable and the IndirectContainer implementation has access to the specified clone method, but the specified clone method raises a java.lang.reflect.InvocationTargetException when invoked.
Action: Verify the implementation of the delegate's clone method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06098: Unexpected Invocation Exception: {0}.
Cause: A proxy object method raises an unexpected exception when invoked (that is, some exception other than InvocationTargetException and ValidationException.)
Action: Review the proxy object to see where it is throwing the exception described in the exception message. Ensure this exception is no longer raised.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06099: Joining across inheritance class with multiple table subclasses not supported: {0}, {1}
Cause: Joining with query across inheritance class with multiple table subclasses. This is not supported: joining cannot be used on relationships with inheritance classes that have subclasses that span multiple tables as this requires multiple separate queries. The multiple queries cannot be joined into a single query.
Action: Use batch reading on the relationship instead, as this will provide equivalent or better performance.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06100: Multiple values detected for single-object read query.
Cause: Multiple values detected for single-object read query. This is a CMP compliance option that ensures the finder methods for a single object only return a single row.
Action: Set the system property toplink.cts.checkMultipleRows to false, or ensure that the finder query only returns a single row from the database.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06101: Executing this query could violate the integrity of the global session cache which must contain only the latest versions of objects. In order to execute a query that returns objects as of a past time, try one of the following: Use a HistoricalSession (acquireSessionAsOf), all objects read will be cached and automatically read as of the same time. This will apply even to triggering object relationships. Set shouldMaintainCache to false. You may make any object expression as of a past time, provided none of its fields are represented in the result set (i.e. used only in the where clause).
Cause: Executing this query could violate the integrity of the global session cache which must contain only the latest versions of objects.
Action: To execute a query that returns objects of a historical nature, you must do one of the following:Use a HistoricalSession (acquireSessionAsOf). All objects read will be cached and automatically read at that time. This applies also to triggering object relationships.Set shouldMaintainCache to false. You may make any object expression as of a previous time, provided none of its fields are represented in the result set (i.e. used in the where clause).
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06102: At present historical queries only work with Oracle 9R2 or later databases, as it uses Oracle's Flashback feature.
Cause: Invalid database was used: historical queries only work with Oracle 9.2.0.4 or later databases, as it uses the Oracle database Flashback feature.
Action: Ensure that historical queries are only used with an Oracle 9.2.0.4 or later database.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06103: You may not execute a WriteQuery from inside a read-only HistoricalSession. To restore past objects, try the following: read the same object as it is now with a UnitOfWork and commit the UnitOfWork.
Cause: Invalid query was executed on a historical session: you may not execute a WriteQuery from inside a read-only HistoricalSession. To restore historical objects, try the following: read the same object as it is now with a UnitOfWork and commit the UnitOfWork.
Action: To restore historical objects, read the same object as it is now with a UnitOfWork and commit the UnitOfWork.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06104: The object, {0}, does not exist in the cache.
Cause: The object does not exist in the cache.
Action: Ensure that the object exists in the cache.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06105: Query has to be reinitialized with a cursor stream policy.
Cause: The cursor stream policy was not used on the query instantiation.
Action: Reinitialize the query with a cursor stream policy.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06106: The object of type [{0}] with primary key [{1}] does not exist in the cache.
Cause: The object with primary key does not exist in the cache.
Action: Ensure that the object exists in the cache.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06107: Missing update statements on UpdateAllQuery.
Cause: Missing update statements on UpdateAllQuery.
Action: Add update statements using the addUpdate method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06108: Update all query does not support inheritance with multiple tables
Cause: For UpdateAllQuery, inheritance was used with multiple tables: UpdateAllQuery does not support inheritance with multiple tables.
Action: Do not use UpdateAllQuery in this situation.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06109: The named fetch group ({0}) is not defined at the dscriptor level.
Cause: The named fetch group is not defined at the descriptor level.
Action: Ensure the fetch group is defined in the descriptor.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06110: Read query cannot conform the unfetched attribute ({0}) of the partially fetched object in the unit of work identity map.
Cause: Read query cannot conform to the unfetched attribute of the partially fetched object in the unit of work identity map.
Action: Do not use unfetched attribute conforming, or explicitly fetch the attribute before conforming.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06111: The fetch group attribute ({0}) is not defined or not mapped.
Cause: The fetch group attribute is not defined or mapped.
Action: Ensure that any attribute defined in a fetch group is defined in the class and mapped.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06112: Fetch group cannot be set on report query.
Cause: A fetch group was set on report query: fetch groups cannot be set on report queries.
Action: Remove the fetch group setting on ReportQuery, or use ReadObjectQuery or ReadObjectQuery instead.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06113: Fetch group cannot be used along with partial attribute reading.
Cause: Fetch group was used together with partial attribute reading: fetch groups cannot be used together with partial attribute reading.
Action: Remove the partial attribute reading setting in the query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06114: You must define a fetch group manager at descriptor ({0}) in order to set a fetch group on the query ({1})
Cause: A fetch group manager is not defined at the descriptor while attempting to set a fetch group on a query.
Action: You must define a fetch group manager at the descriptor in order to set a fetch group on the query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06115: Queries on isolated classes, or queries set to use exclusive connections, must not be executed on a ServerSession or, in CMP, outside of a transaction.
Cause: An isolated query was executed on a server session: queries on isolated classes, or queries set to use exclusive connections, must not be executed on a ServerSession or in CMP outside of a transaction.
Action: Do not execute queries on isolated classes or queries set to use exclusive connections on a ServerSession or in CMP outside of a transaction.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06116: No Call or Interaction was specified for the attempted operation.
Cause: No call or interaction method was specified for the attempted operation.
Action: Specify a call or interaction method.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06117: Can not set a query, that uses a cursored result, to cache query results.
Cause: A query that uses a cursored result to cache query results was set.
Action: Do not cache query results or do not use a cursor policy.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06118: A query on an Isolated class must not cache query results on the query.
Cause: Query on an isolated class attempted to cache query results on the query.
Action: Do not cache query results for a query on an isolated class.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06119: The join expression {0} is not valid, or for a mapping type that does not support joining.
Cause: The join expression is not valid, or is for a mapping type that does not support joining.
Action: Joining is supported only for one-one and one-many mappings.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06120: The partial attribute {0} is not a valid attribute of the class {1}.
Cause: The partial attribute attributeName is not a valid attribute of the class className.
Action: Ensure that this attribute exists, and is mapped.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06121: The query has not been defined correctly, the expression builder is missing. For sub and parallel queries ensure the queries builder is always on the left.
Cause: The query has not been defined correctly: the expression builder is missing.
Action: Ensure the queries builder is always on the left for sub queries and parallel queries.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06122: The expression is not a valid expression. {0}
Cause: Attempt to use an invalid expression expression.
Action: Ensure the correctness of the expression.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06123: The container class specified [{0}] cannot be used because the container needs to implement {1}.
Cause: Invalid container class specified: the container class className cannot be used, because the container needs to implement interfaceName.
Action: Ensure that the class specified as a container implements the correct interface.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06124: Required query of {0}, found {1}
Cause: TopLink was expecting to find the query queryName, but instead found an incorrect query queryName.



ECLIPSELINK-06124: Required query of {0}, found {1}
Cause: TopLink was expecting to find the query queryName, but instead found an incorrect query queryName.
Action: Provide the correct query.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06125: ReadQuery.clearQueryResults() can no longer be called. The call to clearQueryResults now requires that the session be provided. clearQueryResults(session) should be called.
Cause: The ReadQuery method clearQueryResults() was called: this method cannot be called anymore. The call to the clearQueryResults method now requires that the session be provided.
Action: Call the ReadQuery method clearQueryResults(session).
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06126: A query is being executed that uses both conforming and cached query results. These two settings are incompatible.
Cause: A query is being executed that uses both conforming and cached query results. These two settings are incompatible.
Action: Ensure that the query uses either conforming or cached query results.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06127: A reflective call failed on the TopLink class {0}, your environment must be set up to allow Java reflection.
Cause: A reflective call failed on the TopLink class classNAME.
Action: Set up your environment to allow Java reflection
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06128: Batch Reading is not supported on Queries using custom Calls.
Cause: Attempt to use batch reading on a query using a custom call: batch reading is not supported on queries using custom calls.
Action: Do not use batch reading on queries using custom calls.
Level: 1
Type: ERROR
Impact: Programmatic


ECLIPSELINK-06129: Refreshing is not possible if the query does not go to the database.
Cause: Attempt to refreshing the query that does not go to the database. This is not possible.
Action: Avoid refreshing queries that do not go to the database.
Level: 1
Type: ERROR
Impact: Programmatic

Validation Exceptions (7001 – 7200)

ValidationException is a development exception that is raised when an incorrect state is detected or an API is used incorrectly.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Validation Exception

EXCEPTION [ECLIPSELINK – 7008]: org.eclipse.persistence.exceptions.ValidationException
EXCEPTION DESCRIPTION: The Java type javaClass is not a valid database type. The Java type of the field to be written to the database has no corresponding type on the database.


EJB QL Exceptions (8001 – 8010)

EJBQLException is a run-time exception that is raised when the EJB QL string does not parse properly, or the contents cannot be resolved within the context of the EclipseLink session. The associated message typically includes a reference to the EJB QL string that caused the problem.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


EJB QL Exception

EXCEPTION [ECLIPSELINK – 8002]: org.eclipse.persistence.exceptions.EJBQLException
EXCEPTION DESCRIPTION: EclipseLink has encountered a problem while parsing the EJB QL string.


Session Loader Exceptions (9000 - 9010)

SessionLoaderException is a run-time exception that is raised if the session manager encounters a problem loading session information from a sessions.xml (for non-EJB applications)

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Session Loader Exception

EXCEPTION [ECLIPSELINK – 9004]: org.eclipse.persistence.exceptions.SessionLoaderException
EXCEPTION DESCRIPTION: The <project-xml> file MyProject was not found on the classpath, nor on the filesystem.


EJB Exception Factory Exceptions (10001 - 10070)

An EJB exception factory generates run-time exceptions that are raised if a container provider specific to a given application server encounters a problem during any stage of the life cycle of an EJB bean.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message

EJB Exception Factory Exception

EXCEPTION [ECLIPSELINK – 10008]: javax.ejb.CreateException
EXCEPTION DESCRIPTION: Cannot find bean.


Communication Exceptions (12000 - 12003)

CommunicationException is a run-time exception that wraps all RMI, CORBA, or input and output exceptions that occur.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Communication Exception

EXCEPTION [ECLIPSELINK – 12000]: org.eclipse.persistence.exceptions.CommunicationException
EXCEPTION DESCRIPTION: Error Sending connection service to myService.


EIS Exceptions (17007 – 17025), 90000, 91000

EISException is a run-time exception that is raised when invoking EIS interactions. For more information on EIS interactions, see Enterprise Information System (EIS) Interactions.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


JMS Processing Exception

EXCEPTION [ECLIPSELINK – 17010]: org.eclipse.persistence.eis.EISException
EXCEPTION DESCRIPTION: Output record contains an unsupported message type.


JMS Processing Exceptions (18001 - 18004)

JMSProcessingException is a run-time exception that is raised when processing JMS messages.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message

JMS Processing Exception

EXCEPTION [ECLIPSELINK – 18001]: org.eclipse.persistence.exceptions.JMSProcessingException
EXCEPTION DESCRIPTION: Error while processing incomming JMS message.


Discovery Exceptions (22001 - 22004)

DiscoveryException is a run-time exception that is raised when DiscoveryManager is operating.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Discovery Exception

EXCEPTION [ECLIPSELINK – 22001]: org.eclipse.persistence.exception.DiscoveryException
EXCEPTION DESCRIPTION: Could not join multicast group.


Remote Command Manager Exceptions (22101 - 22111)

RemoteCommandManagerException is a run-time exception that is raised when the remote command module is used.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message

Remote Command Manager Exception

EXCEPTION [ECLIPSELINK – 22104]: org.eclipse.persistence.exceptions.RemoteCommandManagerException
EXCEPTION DESCRIPTION: Could not look up host name.


Transaction Exceptions (23001 - 23015)

TransactionException is a run-time exception that is raised when an error is encountered during a transaction. When this occurs, the message contains a reference to the error code and error message.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Transaction Exception

EXCEPTION [ECLIPSELINK – 23001]: org.eclipse.persistence.exceptions.TransactionException
EXCEPTION DESCRIPTION: Error looking up external Transaction resource under JNDI name.


XML Conversion Exceptions (25501)

XMLConversionException is a run-time exception that is raised when a conversion between EclipseLink instances and XML fails. This exception is used in cache coordination that uses XML change sets.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


XML Conversion Exception

EXCEPTION [ECLIPSELINK – 25001]: org.eclipse.persistence.exceptions.XMLConversionException
EXCEPTION DESCRIPTION: Cannot create URL for file  [\\FILE_SERVER\command.xml].


XML Marshal Exceptions (25001 – 25020)

XMLMarshalException is raised when an error is encountered during the XML marshalling process.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


XML Marshal Exception

EXCEPTION [ECLIPSELINK – 25001]: org.eclipse.persistence.exceptions.XMLMarshalException
EXCEPTION DESCRIPTION: Error while trying to create session.


Migration Utility Exceptions (26001 - 26020)

MigrationUtilityException is a run-time exception that is raised when an error is encountered during the use of the EclipseLink migration utility.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Migration Utility Exception

EXCEPTION [ECLIPSELINK – 26002]: org.eclipse.persistence.exceptions.MigrationUtilityException
EXCEPTION DESCRIPTION: The program security manager prevents the migration utility from creating a JAR class loader for the JAR file.


XML Platform Exceptions (27001 – 27006, 27101 – 27103, 27201 – 27202)

XMLPlatformException is raised when an error related to XML platform is encountered.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


EJB JAR XML Exception

EXCEPTION [ECLIPSELINK – 27001]: org.eclipse.persistence.platform.xml.XMLPlatformException
EXCEPTION DESCRIPTION: The XML platform class ClassName was not found.


Entity Manager Setup Exceptions (28001 – 28007)

EntityManagerSetupException is raised when an error is encountered during the process of setting up an entity manager.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


Entity Manager Setup Exception

EXCEPTION [ECLIPSELINK – 28001]: org.eclipse.persistence.exceptions.EntityManagerSetupException
EXCEPTION DESCRIPTION: Error while trying to create session.


EJB JAR XML Exceptions (72000 – 72023)

EJBJARXMLException is a run-time exception that is raised at deployment time when the ejb-jar.xml file is read and the required concrete EJB classes code is generated.

Format

EXCEPTION [ECLIPSELINK – error code]: Exception name
EXCEPTION DESCRIPTION: Message


EJB JAR XML Exception

EXCEPTION [ECLIPSELINK – 72000]: org.eclipse.persistence.exceptions.EJBJarXMLException
EXCEPTION DESCRIPTION: Error reading ejb-jar.xml file.




Copyright Statement

Back to the top