Uses of Class
org.eclipse.persistence.exceptions.DatabaseException
Package
Description
-
Uses of DatabaseException in org.eclipse.persistence.descriptors
Modifier and TypeMethodDescriptionvoid
SelectedFieldsLockingPolicy.addLockValuesToTranslationRow
(ObjectLevelModifyQuery query) INTERNAL: Values to be included in the locking mechanism are added to the translation row.ClassDescriptor.buildDirectValuesFromFieldValue
(Object fieldValue) INTERNAL: Extract the direct values from the specified field value.ClassDescriptor.buildFieldValueFromDirectValues
(Vector directValues, String elementDataTypeName, AbstractSession session) INTERNAL: Build the appropriate field value for the specified set of direct values.ClassDescriptor.buildFieldValueFromForeignKeys
(Vector foreignKeys, String referenceDataTypeName, AbstractSession session) INTERNAL: Build and return the appropriate field value for the specified set of foreign keys (i.e.ClassDescriptor.buildFieldValueFromNestedRow
(AbstractRecord nestedRow, AbstractSession session) INTERNAL: Build and return the field value from the specified nested database row.ClassDescriptor.buildFieldValueFromNestedRows
(Vector nestedRows, String structureName, AbstractSession session) INTERNAL: Build and return the appropriate field value for the specified set of nested rows.ClassDescriptor.buildNestedRowFromFieldValue
(Object fieldValue) INTERNAL: Build and return the nested database row from the specified field value.ClassDescriptor.buildNestedRowsFromFieldValue
(Object fieldValue, AbstractSession session) INTERNAL: Build and return the nested rows from the specified field value.InterfacePolicy.selectAllObjectsUsingMultipleTableSubclassRead
(ReadAllQuery query) INTERNAL: Select all objects for an interface descriptor.protected Vector
InheritancePolicy.selectAllRowUsingCustomMultipleTableSubclassRead
(ObjectLevelReadQuery query) INTERNAL: Select all rows from a abstract table descriptor.protected Vector
InheritancePolicy.selectAllRowUsingDefaultMultipleTableSubclassRead
(ObjectLevelReadQuery query) INTERNAL: Select all rows from a abstract table descriptor.InheritancePolicy.selectAllRowUsingMultipleTableSubclassRead
(ObjectLevelReadQuery query) INTERNAL: Select all rows from a abstract table descriptor.InterfacePolicy.selectOneObjectUsingMultipleTableSubclassRead
(ReadObjectQuery query) INTERNAL: Select one object of any concrete subclass.protected AbstractRecord
InheritancePolicy.selectOneRowUsingCustomMultipleTableSubclassRead
(ReadObjectQuery query) INTERNAL: Select one rows from a abstract table descriptor.protected AbstractRecord
InheritancePolicy.selectOneRowUsingDefaultMultipleTableSubclassRead
(ReadObjectQuery query) INTERNAL: Select one row of any concrete subclass, This must use two selects, the first retrieves the type field only.InheritancePolicy.selectOneRowUsingMultipleTableSubclassRead
(ReadObjectQuery query) INTERNAL: Select one row of any concrete subclass, This must use two selects, the first retrieves the type field only. -
Uses of DatabaseException in org.eclipse.persistence.eis
Modifier and TypeClassDescriptionclass
Use anEISException
when any problem is detected while interacting with an EIS datasourceModifier and TypeMethodDescriptionEISAccessor.basicExecuteCall
(Call call, AbstractRecord translationRow, AbstractSession session) Execute the interaction.void
EISAccessor.basicRollbackTransaction
(AbstractSession session) Rollback the local transaction on the datasource.EISDescriptor.buildFieldValueFromNestedRow
(AbstractRecord nestedRow, AbstractSession session) INTERNAL: Build and return the field value from the specified nested database row.EISDescriptor.buildFieldValueFromNestedRows
(Vector nestedRows, String structureName, AbstractSession session) INTERNAL: Build and return the appropriate field value for the specified set of nested rows.EISConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection.EISAccessor.executeCall
(Call call, AbstractRecord translationRow, AbstractSession session) Avoid super to have logging occur after possible manual auto-commit. -
Uses of DatabaseException in org.eclipse.persistence.eis.adapters.aq
Modifier and TypeMethodDescriptionAQEISConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection. -
Uses of DatabaseException in org.eclipse.persistence.eis.adapters.jms
Modifier and TypeMethodDescriptionJMSEISConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection. -
Uses of DatabaseException in org.eclipse.persistence.eis.adapters.xmlfile
Modifier and TypeMethodDescriptionXMLFileEISConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection. -
Uses of DatabaseException in org.eclipse.persistence.eis.mappings
Modifier and TypeMethodDescriptionprotected void
EISOneToManyMapping.deleteAll
(DeleteObjectQuery query) Delete all the reference objects.protected void
EISOneToManyMapping.deleteAll
(DeleteObjectQuery query, Object referenceObjects) Delete all the reference objects.protected void
EISOneToManyMapping.deleteReferenceObjectsLeftOnDatabase
(DeleteObjectQuery query) This method will make sure that all the records privately owned by this mapping are actually removed.void
EISOneToManyMapping.postDelete
(DeleteObjectQuery query) INTERNAL: Delete the reference objects.void
EISOneToManyMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert the reference objects.void
EISOneToManyMapping.postUpdate
(WriteObjectQuery query) INTERNAL: Update the reference objects.void
EISOneToManyMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete the reference objects.void
EISOneToManyMapping.preInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
EISOneToManyMapping.preUpdate
(WriteObjectQuery query) INTERNAL: Update the privately owned parts.protected Object
EISOneToOneMapping.readPrivateOwnedForObject
(ObjectLevelModifyQuery modifyQuery) INTERNAL: Reads the private owned object.EISOneToManyMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the reference attribute or a value holder.EISOneToOneMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.boolean
EISOneToManyMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: Used to verify whether the specified object is deleted or not. -
Uses of DatabaseException in org.eclipse.persistence.exceptions
Modifier and TypeMethodDescriptionstatic DatabaseException
DatabaseException.cannotRegisterSynchronizatonListenerForUnitOfWork
(Exception e) static DatabaseException
DatabaseException.configurationErrorClassNotFound
(String className) static DatabaseException
DatabaseException.configurationErrorNewInstanceIllegalAccessException
(IllegalAccessException exception, Class<?> javaClass) static DatabaseException
DatabaseException.configurationErrorNewInstanceInstantiationException
(InstantiationException exception, Class<?> javaClass) static DatabaseException
DatabaseException.couldNotConvertObjectType
(int type) static DatabaseException
DatabaseException.databaseAccessorConnectionIsNull
(DatabaseAccessor databaseAccessor, AbstractSession session) static DatabaseException
DatabaseException.databaseAccessorNotConnected()
static DatabaseException
DatabaseException.databaseAccessorNotConnected
(DatabaseAccessor databaseAccessor) static DatabaseException
DatabaseException.errorPreallocatingSequenceNumbers()
static DatabaseException
DatabaseException.errorReadingBlobData()
static DatabaseException
DatabaseException.errorRetrieveDbMetadataThroughJDBCConnection()
static DatabaseException
DatabaseException.logoutWhileTransactionInProgress()
static DatabaseException
DatabaseException.sequenceTableInformationNotComplete()
static DatabaseException
DatabaseException.specifiedLockingFieldsNotFoundInDatabase
(String lockingFieldName) static DatabaseException
DatabaseException.sqlException
(SQLException exception) static DatabaseException
DatabaseException.sqlException
(SQLException exception, boolean commError) static DatabaseException
DatabaseException.sqlException
(SQLException exception, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) static DatabaseException
DatabaseException.sqlException
(SQLException exception, AbstractSession session, boolean commError) static DatabaseException
DatabaseException.sqlException
(SQLException exception, Call call, Accessor accessor, AbstractSession session, boolean isCommunicationFailure) static DatabaseException
DatabaseException.synchronizedUnitOfWorkDoesNotSupportCommitAndResume()
static DatabaseException
DatabaseException.transactionManagerNotSetForJTSDriver()
static DatabaseException
DatabaseException.unableToAcquireConnectionFromDriverException
(String driver, String user, String url) The connection returned from this driver was null, the driver may be missing(using the default) or the wrong one for the database.static DatabaseException
DatabaseException.unableToAcquireConnectionFromDriverException
(SQLException exception, String driver, String user, String url) The connection returned from this driver was null, the driver may be missing(using the default) or the wrong one for the database. -
Uses of DatabaseException in org.eclipse.persistence.internal.databaseaccess
Modifier and TypeMethodDescriptionDatabaseAccessor.processExceptionForCommError
(AbstractSession session, SQLException exception, Call call) This method is used to process an SQL exception and determine if the exception should be passed on for further processing.Modifier and TypeMethodDescriptionboolean
DatabasePlatform.isLockTimeoutException
(DatabaseException e) Return true is the given exception occurred as a result of a lock time out exception (WAIT clause).Modifier and TypeMethodDescriptionvoid
DatabaseAccessor.basicBeginTransaction
(AbstractSession session) Begin a transaction on the database.void
DatabaseAccessor.basicCommitTransaction
(AbstractSession session) Commit a transaction on the database.DatabaseAccessor.basicExecuteCall
(Call call, AbstractRecord translationRow, AbstractSession session) Execute the call.DatabaseAccessor.basicExecuteCall
(Call call, AbstractRecord translationRow, AbstractSession session, boolean batch) Execute the call.void
DatabaseAccessor.basicRollbackTransaction
(AbstractSession session) Rollback a transaction on the database.void
Accessor.beginTransaction
(AbstractSession session) Begin a transaction on the data store.void
DatasourceAccessor.beginTransaction
(AbstractSession session) Begin a transaction on the database.DatabaseAccessor.buildOutputRow
(CallableStatement statement, DatabaseCall call, AbstractSession session) Build a row from the output parameters of a sp call.DatabaseAccessor.buildSortedFields
(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session) Return the field sorted in the correct order corresponding to the result set.protected void
DatabaseAccessor.checkTransactionIsolation
(AbstractSession session) Check to see if the transaction isolation needs to be set for the newly created connection.void
DatabaseAccessor.closeCursor
(ResultSet resultSet, AbstractSession session) Close the result set of the cursored stream.void
DatabaseAccessor.closeDatasourceConnection()
Close the connection.void
Accessor.commitTransaction
(AbstractSession session) Commit a transaction on the data store.void
DatabaseAccessor.commitTransaction
(AbstractSession session) Commit a transaction on the database.void
DatasourceAccessor.commitTransaction
(AbstractSession session) Commit a transaction on the database.void
Accessor.connect
(Login login, AbstractSession session) Connect to the data store using the configuration information in the login.void
DatasourceAccessor.connect
(Login login, AbstractSession session) Connect to the datasource.protected void
DatabaseAccessor.connectInternal
(Login login, AbstractSession session) Connect to the database.protected void
DatasourceAccessor.connectInternal
(Login login, AbstractSession session) Connect to the database.DatabaseAccessor.cursorRetrieveNextRow
(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session) Advance the result set and return a Record populated with values from the next valid row in the result set.DatabaseAccessor.cursorRetrievePreviousRow
(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session) Advance the result set and return a DatabaseRow populated with values from the next valid row in the result set.void
Accessor.disconnect
(AbstractSession session) Disconnect from the data store.void
DatabaseAccessor.disconnect
(AbstractSession session) Disconnect from the datasource.void
DatasourceAccessor.disconnect
(AbstractSession session) Disconnect from the datasource.protected void
DatabaseAccessor.executeBatchedStatement
(PreparedStatement statement, AbstractSession session) Execute the EclipseLink dynamically batched/concatenated statement.Accessor.executeCall
(Call call, AbstractRecord translationRow, AbstractSession session) Execute the call.DatabaseAccessor.executeCall
(Call call, AbstractRecord translationRow, AbstractSession session) Execute the call.DatasourceAccessor.executeCall
(Call call, AbstractRecord translationRow, AbstractSession session) Execute the call.DatabaseAccessor.executeDirectNoSelect
(Statement statement, DatabaseCall call, AbstractSession session) Execute the statement.protected int
DatabaseAccessor.executeJDK12BatchStatement
(Statement statement, DatabaseCall dbCall, AbstractSession session, boolean isStatementPrepared) Execute the batched statement through the JDBC2 API.protected Object
DatabaseAccessor.executeNoSelect
(DatabaseCall call, Statement statement, AbstractSession session) Execute the statement.protected AbstractRecord
DatabaseAccessor.fetchRow
(Vector<DatabaseField> fields, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session) Return a new DatabaseRow.DatabaseAccessor.fetchRow
(Vector<DatabaseField> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session) Return a new DatabaseRow.Accessor.getColumnInfo
(String catalog, String schema, String tableName, String columnName, AbstractSession session) Return the column metadata for the specified selection criteria.Accessor.getColumnInfo
(String tableName, String columnName, AbstractSession session) Return the column metadata for the specified selection criteria limited to the context of the currentAccessor
.DatabaseAccessor.getColumnInfo
(String catalog, String schema, String tableName, String columnName, AbstractSession session) Get a description of table columns available in a catalog.DatabaseAccessor.getColumnInfo
(String tableName, String columnName, AbstractSession session) DatasourceAccessor.getColumnInfo
(String catalog, String schema, String tableName, String columnName, AbstractSession session) Return column information for the specified database objects.DatasourceAccessor.getColumnInfo
(String tableName, String columnName, AbstractSession session) DatabaseAccessor.getConnection()
Return the receiver's connection to its data source.DatabaseAccessor.getObject
(ResultSet resultSet, DatabaseField field, ResultSetMetaData metaData, int columnNumber, DatabasePlatform platform, boolean optimizeData, AbstractSession session) Return an object retrieved from resultSet with the getObject() method.Accessor.getTableInfo
(String tableName, String[] types, AbstractSession session) Return the table metadata for the specified selection criteria limited to the context of the currentAccessor
.Accessor.getTableInfo
(String catalog, String schema, String tableName, String[] types, AbstractSession session) Return the table metadata for the specified selection criteria.DatabaseAccessor.getTableInfo
(String tableName, String[] types, AbstractSession session) DatabaseAccessor.getTableInfo
(String catalog, String schema, String tableName, String[] types, AbstractSession session) Get a description of tables available in a catalog.DatasourceAccessor.getTableInfo
(String tableName, String[] types, AbstractSession session) DatasourceAccessor.getTableInfo
(String catalog, String schema, String tableName, String[] types, AbstractSession session) Return table information for the specified database objects.void
DatabaseAccessor.populateRow
(DatabaseField[] fieldsArray, Object[] values, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session, int startIndex, int endIndex) protected PreparedStatement
DynamicSQLBatchWritingMechanism.prepareBatchStatement
(AbstractSession session) INTERNAL: This method is used to build the batch statement by concatenating the strings together.protected PreparedStatement
ParameterizedSQLBatchWritingMechanism.prepareBatchStatements
(AbstractSession session) INTERNAL: This method is used to build the parameterized batch statement for the JDBC2.0 specificationprotected Statement
DynamicSQLBatchWritingMechanism.prepareJDK12BatchStatement
(AbstractSession session) INTERNAL: This method is used to build the batch statement for the JDBC2.0 specificationprotected void
DatasourceAccessor.reconnect
(AbstractSession session) Attempt to save some of the cost associated with getting a fresh connection.void
Accessor.reestablishConnection
(AbstractSession session) Reconnect to the database.void
DatasourceAccessor.reestablishConnection
(AbstractSession session) PUBLIC: Reconnect to the database.void
Accessor.rollbackTransaction
(AbstractSession session) Roll back a transaction on the data store.void
DatabaseAccessor.rollbackTransaction
(AbstractSession session) Rollback a transaction on the database.void
DatasourceAccessor.rollbackTransaction
(AbstractSession session) Rollback the transaction on the datasource. -
Uses of DatabaseException in org.eclipse.persistence.internal.descriptors
Modifier and TypeMethodDescriptionvoid
ObjectBuilder.assignReturnRow
(Object object, AbstractSession writeSession, AbstractRecord row, ObjectChangeSet changeSet) Assign the fields in the row back into the object.protected Object
ObjectBuilder.assignSequenceNumber
(Object object, Object sequenceValue, AbstractSession writeSession, WriteObjectQuery writeQuery) INTERNAL: Update the object primary key by fetching a new sequence number from the accessor.ObjectBuilder.assignSequenceNumber
(Object object, AbstractSession writeSession) INTERNAL: Update the object primary key by fetching a new sequence number from the accessor.ObjectBuilder.assignSequenceNumber
(WriteObjectQuery writeQuery) INTERNAL: Update the writeQuery's object primary key by fetching a new sequence number from the accessor.ObjectBuilder.assignSequenceNumber
(WriteObjectQuery writeQuery, Object sequenceValue) INTERNAL: Update the writeQuery's object primary key by fetching a new sequence number from the accessor.void
ObjectBuilder.buildAttributesIntoObject
(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession) Each mapping is recursed to assign values from the Record to the attributes in the domain object.protected boolean
ObjectBuilder.buildAttributesIntoObjectSOP
(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession) Each mapping is recursed to assign values from the Record to the attributes in the domain object.void
ObjectBuilder.buildAttributesIntoShallowObject
(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query) INTERNAL: For reading through the write connection when in transaction, We need a partially populated original, so that we can build a clone using the copy policy, even though we can't put this original in the shared cache yet; just build a shallow original (i.e.void
ObjectBuilder.buildAttributesIntoWorkingCopyClone
(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh) INTERNAL: For reading through the write connection when in transaction, populate the clone directly from the database row.protected boolean
ObjectBuilder.buildAttributesIntoWorkingCopyCloneSOP
(Object clone, CacheKey sharedCacheKey, ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, boolean forRefresh) For reading through the write connection when in transaction, populate the clone directly from the database row.protected Object
ObjectBuilder.buildObject
(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager) Return an instance of the receivers javaClass.protected Object
ObjectBuilder.buildObjectInUnitOfWork
(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor) For executing all reads on the UnitOfWork, the session when building objects from rows will now be the UnitOfWork.void
ObjectBuilder.buildPrimaryKeyAttributesIntoObject
(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query, AbstractSession session) INTERNAL: Build just the primary key mappings into the object.protected Object
ObjectBuilder.buildProtectedObject
(boolean returnCacheKey, ObjectBuildingQuery query, AbstractRecord databaseRow, AbstractSession session, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager) Return an instance of the receivers javaClass.protected Object
ObjectBuilder.buildWorkingCopyCloneFromRow
(ObjectBuildingQuery query, JoinedAttributeManager joinManager, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey) INTERNAL: Builds a working copy clone directly from the database row.protected Object
ObjectBuilder.buildWorkingCopyCloneNormally
(ObjectBuildingQuery query, AbstractRecord databaseRow, UnitOfWorkImpl unitOfWork, Object primaryKey, CacheKey preFetchedCacheKey, ClassDescriptor concreteDescriptor, JoinedAttributeManager joinManager) buildWorkingCopyCloneFromRow is an alternative to this which is the normal behavior. -
Uses of DatabaseException in org.eclipse.persistence.internal.history
Modifier and TypeMethodDescriptionvoid
HistoricalSession.beginTransaction()
INTERNAL: No transactions should be used inside a HistoricalSession.void
HistoricalSession.commitTransaction()
INTERNAL: No transactions should be used inside a HistoricalSession.HistoricalSession.internalExecuteQuery
(DatabaseQuery query, AbstractRecord databaseRow) INTERNAL: Return the results from executing the database query.void
HistoricalSession.rollbackTransaction()
INTERNAL: No transactions should be used inside a HistoricalSession. -
Uses of DatabaseException in org.eclipse.persistence.internal.indirection
Modifier and TypeMethodDescriptionprotected T
CacheBasedValueHolder.instantiate()
protected T
CacheBasedValueHolder.instantiate
(AbstractSession localSession) protected abstract T
DatabaseValueHolder.instantiate()
Instantiate the object.protected T
EISOneToManyQueryBasedValueHolder.instantiate
(AbstractSession session) protected T
ProtectedValueHolder.instantiate()
protected T
QueryBasedValueHolder.instantiate()
protected T
QueryBasedValueHolder.instantiate
(AbstractSession session) Instantiate the object by executing the query on the session. -
Uses of DatabaseException in org.eclipse.persistence.internal.jpa
Modifier and TypeMethodDescriptionprotected RuntimeException
QueryImpl.getDetailedException
(DatabaseException e) Given a DatabaseException, this method will determine if we should throw a different more specific exception like a lock timeout exception.Modifier and TypeMethodDescriptionJPAQuery.executeDatabaseQuery()
INTERNAL: This should never be called and is only here because it is needed as an extension to DatabaseQuery. -
Uses of DatabaseException in org.eclipse.persistence.internal.oxm
Modifier and TypeMethodDescriptionXMLAccessor.basicExecuteCall
(Call call, AbstractRecord translationRow, AbstractSession session) void
XMLObjectBuilder.buildAttributesIntoObject
(Object domainObject, CacheKey cacheKey, AbstractRecord databaseRow, ObjectBuildingQuery query, JoinedAttributeManager joinManager, FetchGroup executionFetchGroup, boolean forRefresh, AbstractSession targetSession) Override method in superclass in order to set the session on the record.XMLObjectBuilder.buildObject
(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager) INTERNAL: Override the parent's buildObject to allow for the caching of aggregate objects in OX.protected void
XMLAccessor.connectInternal
(Login login, AbstractSession session) By default the SDK does not have a connection, so use an object as a placeholder. -
Uses of DatabaseException in org.eclipse.persistence.internal.queries
Modifier and TypeMethodDescriptionabstract DatabaseCall
DatabaseQueryMechanism.cursorSelectAllRows()
Read all rows from the database using a cursored stream.DatasourceCallQueryMechanism.cursorSelectAllRows()
Read all rows from the database using a cursored stream.abstract Integer
DatabaseQueryMechanism.deleteAll()
DatasourceCallQueryMechanism.deleteAll()
INTERNAL: Delete a collection of objects.DatasourceCallQueryMechanism.deleteAllUsingTempTables()
Execute deleteAll using temp tablesabstract Integer
DatabaseQueryMechanism.deleteObject()
Delete an object This should be overridden by subclasses.DatasourceCallQueryMechanism.deleteObject()
INTERNAL: Delete an object.StatementQueryMechanism.deleteObject()
INTERNAL: delete the objectabstract Object
DatabaseQueryMechanism.execute()
Execute a execute SQL call.DatasourceCallQueryMechanism.execute()
INTERNAL: Execute a call.protected Object
DatasourceCallQueryMechanism.executeCall()
Execute the call.protected Object
DatasourceCallQueryMechanism.executeCall
(DatasourceCall databaseCall) Execute the call.abstract Object
DatabaseQueryMechanism.executeNoSelect()
Execute a non selecting SQL call This should be overridden by subclasses.DatasourceCallQueryMechanism.executeNoSelect()
Execute a non selecting call.StatementQueryMechanism.executeNoSelect()
Update the objectDatasourceCallQueryMechanism.executeNoSelectCall()
Execute a non selecting call.abstract Vector
DatabaseQueryMechanism.executeSelect()
Execute a select SQL call and return the rows.DatasourceCallQueryMechanism.executeSelect()
INTERNAL: Execute a selecting call.DatasourceCallQueryMechanism.executeSelectCall()
INTERNAL: Execute a selecting call.DatabaseQueryMechanism.executeWrite()
Check whether the object already exists on the database; then perform an insert or update, as appropriate.DatabaseQueryMechanism.executeWriteWithChangeSet()
Check whether the object already exists on the cadatabase; then perform an insert or update, as appropriate.abstract DatabaseCall
DatabaseQueryMechanism.generateKeysExecuteNoSelect()
Execute a non selecting SQL call, that returns the generated keys This should be overridden by subclasses.DatasourceCallQueryMechanism.generateKeysExecuteNoSelect()
Execute a non selecting call.abstract void
DatabaseQueryMechanism.insertObject()
Insert an object.void
DatasourceCallQueryMechanism.insertObject()
Insert the object.void
StatementQueryMechanism.insertObject()
Insert the objectabstract Vector
DatabaseQueryMechanism.selectAllReportQueryRows()
INTERNAL: Read all rows from the database.DatasourceCallQueryMechanism.selectAllReportQueryRows()
Read all rows from the database.ExpressionQueryMechanism.selectAllReportQueryRows()
INTERNAL Read all rows from the database.abstract Vector
DatabaseQueryMechanism.selectAllRows()
Read and return rows from the database.DatasourceCallQueryMechanism.selectAllRows()
Read all rows from the database.ExpressionQueryMechanism.selectAllRows()
Read all rows from the database.ExpressionQueryMechanism.selectAllRowsFromConcreteTable()
Read all rows from the database.ExpressionQueryMechanism.selectAllRowsFromTable()
Read all rows from the database.abstract AbstractRecord
DatabaseQueryMechanism.selectOneRow()
Read and return a row from the database.DatasourceCallQueryMechanism.selectOneRow()
Read a single row from the database.ExpressionQueryMechanism.selectOneRow()
Read a single row from the database.ExpressionQueryMechanism.selectOneRowFromConcreteTable()
Read a single row from the database.ExpressionQueryMechanism.selectOneRowFromTable()
Read a single row from the database.DatasourceCallQueryMechanism.selectResultSet()
Read all rows from the database, return ResultSetabstract AbstractRecord
DatabaseQueryMechanism.selectRowForDoesExist
(DatabaseField field) Read and return a row from the database for an existence check.DatasourceCallQueryMechanism.selectRowForDoesExist
(DatabaseField field) Perform a does exist checkprotected void
DatabaseQueryMechanism.shallowInsertObjectForWrite
(Object object, WriteObjectQuery writeQuery, CommitManager commitManager) Shallow insert the specified object, if necessary.abstract Integer
DatabaseQueryMechanism.updateAll()
Issue update SQL statementDatasourceCallQueryMechanism.updateAll()
Update the rows on the database.DatasourceCallQueryMechanism.updateAllUsingTempTables()
Execute updateAll using temp tablesabstract Integer
DatabaseQueryMechanism.updateObject()
Update an object.DatasourceCallQueryMechanism.updateObject()
Update the object.StatementQueryMechanism.updateObject()
Update the objectprotected void
DatabaseQueryMechanism.updateObjectAndRowWithSequenceNumber()
Update the object's primary key by fetching a new sequence number from the accessor.protected void
DatabaseQueryMechanism.updateObjectAndRowWithSequenceNumber
(DatabaseCall call) Update the object's primary key by getting the generated keys from the call If there are no generated keys or the value is NULL, then default back to theDatabaseQueryMechanism.updateObjectAndRowWithSequenceNumber()
-
Uses of DatabaseException in org.eclipse.persistence.internal.sessions
Modifier and TypeMethodDescriptionAbstractSession.retryTransaction
(Accessor accessor, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A begin transaction failed.Modifier and TypeMethodDescriptionAbstractSession.retryQuery
(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A query execution failed due to an invalid query.DatabaseSessionImpl.retryQuery
(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A query execution failed due to an invalid query.UnitOfWorkImpl.retryQuery
(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A query execution failed due to an invalid query.AbstractSession.retryTransaction
(Accessor accessor, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A begin transaction failed.Modifier and TypeMethodDescriptionvoid
UnitOfWorkImpl.assignSequenceNumber
(Object object) ADVANCED: Assign sequence number to the object.UnitOfWorkImpl.assignSequenceNumber
(Object object, ClassDescriptor descriptor) INTERNAL: Assign sequence number to the object.void
UnitOfWorkImpl.assignSequenceNumbers()
ADVANCED: Assign sequence numbers to all new objects registered in this unit of work, or any new objects reference by any objects registered.protected void
UnitOfWorkImpl.assignSequenceNumbers
(Map objects) INTERNAL: Assign sequence numbers to all of the objects.protected void
AbstractSession.basicBeginTransaction()
INTERNAL: Called by beginTransaction() to start a transaction.protected void
AbstractSession.basicBeginTransaction
(Accessor accessor) INTERNAL: Called by beginTransaction() to start a transaction.protected void
AbstractSession.basicCommitTransaction()
INTERNAL: Called by commitTransaction() to commit a transaction.AbstractSession.basicExecuteCall
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Execute the call on each accessors and merge the results.protected void
AbstractSession.basicRollbackTransaction()
INTERNAL: Called by rollbackTransaction() to rollback a transaction.void
UnitOfWorkImpl.beginEarlyTransaction()
PUBLIC: Tell the unit of work to begin a transaction now.void
AbstractSession.beginTransaction()
PUBLIC: Begin a transaction on the database.void
UnitOfWorkImpl.beginTransaction()
INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.void
UnitOfWorkImpl.commit()
PUBLIC: Commit the unit of work to its parent.void
CommitManager.commitAllObjectsWithChangeSet
(UnitOfWorkChangeSet uowChangeSet) Commit all of the objects as a single transaction.void
UnitOfWorkImpl.commitAndResume()
PUBLIC: Commit the unit of work to its parent.void
UnitOfWorkImpl.commitAndResumeOnFailure()
PUBLIC: Commit the unit of work to its parent.void
UnitOfWorkImpl.commitAndResumeWithPreBuiltChangeSet
(UnitOfWorkChangeSet uowChangeSet) INTERNAL: This method is used by the MappingWorkbench for their read-only file feature this method must not be exposed to or used by customers until it has been revised and the feature revisited to support OptimisticLocking and Serializationvoid
RepeatableWriteUnitOfWork.commitRootUnitOfWork()
INTERNAL: Commit the changes to any objects to the parent.void
UnitOfWorkImpl.commitRootUnitOfWork()
INTERNAL: Commit the changes to any objects to the parent.void
UnitOfWorkImpl.commitRootUnitOfWorkWithPreBuiltChangeSet
(UnitOfWorkChangeSet uowChangeSet) INTERNAL: This method is used by the MappingWorkbench read-only files feature It will commit a pre-built unitofwork change set to the databaseprotected void
UnitOfWorkImpl.commitToDatabaseWithChangeSet
(boolean commitTransaction) INTERNAL: Commit the changes to any objects to the parent.protected void
UnitOfWorkImpl.commitToDatabaseWithPreBuiltChangeSet
(UnitOfWorkChangeSet uowChangeSet, boolean commitTransaction, boolean isChangeSetFromOutsideUOW) INTERNAL: Commit pre-built changeSet to the database changeSet to the database.void
AbstractSession.commitTransaction()
PUBLIC: Commit the active database transaction.void
RepeatableWriteUnitOfWork.commitTransaction()
INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.void
UnitOfWorkImpl.commitTransaction()
INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.void
DatabaseSessionImpl.connect()
INTERNAL: Connect the session only.void
AbstractSession.deleteAllObjects
(Collection domainObjects) PUBLIC: delete all of the objects and all of their privately owned parts in the database.void
CommitManager.deleteAllObjects
(List objects) delete all of the objects as a single transaction.AbstractSession.deleteObject
(Object domainObject) PUBLIC: Delete the object and all of its privately owned parts from the database.void
DatabaseSessionImpl.disconnect()
INTERNAL: Disconnect the accessor only.boolean
AbstractSession.doesObjectExist
(Object object) PUBLIC: Return if the object exists on the database or not.AbstractSession.executeCall
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Overridden by subclasses that do more than just execute the call.UnitOfWorkImpl.executeCall
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Override From session.int
AbstractSession.executeNonSelectingCall
(Call call) PUBLIC: Execute the call on the database.void
AbstractSession.executeNonSelectingSQL
(String sqlString) PUBLIC: Execute the sql on the database.AbstractSession.executeQuery
(String queryName) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Class<?> domainClass) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Class<?> domainClass, Object arg1) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Class<?> domainClass, Object arg1, Object arg2) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Class<?> domainClass, Object arg1, Object arg2, Object arg3) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Class<?> domainClass, List argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Class<?> domainClass, Vector argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Object arg1) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Object arg1, Object arg2) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Object arg1, Object arg2, Object arg3) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, List argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(String queryName, Vector argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.AbstractSession.executeQuery
(DatabaseQuery query) PUBLIC: Execute the database query.AbstractSession.executeQuery
(DatabaseQuery query, List argumentValues) PUBLIC: Return the results from executing the database query.AbstractSession.executeQuery
(DatabaseQuery query, AbstractRecord row) INTERNAL: Return the results from executing the database query.AbstractSession.executeQuery
(DatabaseQuery query, AbstractRecord row, int retryCount) INTERNAL: Return the results from executing the database query.AbstractSession.executeSelectingCall
(Call call) PUBLIC: Execute the call on the database and return the result.AbstractSession.executeSQL
(String sqlString) PUBLIC: Execute the sql on the database and return the result.protected void
DatabaseSessionImpl.finalize()
INTERNAL: Logout in case still connected.protected void
SessionFinalizer.finalize()
Release the session.AbstractSession.insertObject
(Object domainObject) PUBLIC: Insert the object and all of its privately owned parts into the database.AbstractSession.internalExecuteQuery
(DatabaseQuery query, AbstractRecord databaseRow) INTERNAL: Return the results from exeucting the database query.UnitOfWorkImpl.internalExecuteQuery
(DatabaseQuery query, AbstractRecord databaseRow) INTERNAL: Return the results from executing the database query.void
DatabaseSessionImpl.login()
PUBLIC: Connect to the database using the predefined login.void
PUBLIC: Connect to the database using the given user name and password.void
PUBLIC: Connect to the database using the given login.void
DatabaseSessionImpl.loginAndDetectDatasource()
PUBLIC: Connect to the database using the predefined login.void
DatabaseSessionImpl.logout()
PUBLIC: Disconnect from the database.int
AbstractSession.priviledgedExecuteNonSelectingCall
(Call call) INTERNAL: Execute the call on the database.AbstractSession.priviledgedExecuteSelectingCall
(Call call) INTERNAL: Execute the call on the database and return the result.AbstractSession.readAllObjects
(Class<?> domainClass) PUBLIC: Read all of the instances of the class from the database.AbstractSession.readAllObjects
(Class<?> domainClass, String sqlString) PUBLIC: Read all of the instances of the class from the database return through execution the SQL string.AbstractSession.readAllObjects
(Class<?> domainClass, Expression expression) PUBLIC: Read all of the instances of the class from the database matching the given expression.AbstractSession.readAllObjects
(Class<?> referenceClass, Call aCall) PUBLIC: Read all the instances of the class from the database returned through execution the Call string.AbstractSession.readObject
(Class<?> domainClass) PUBLIC: Read the first instance of the class from the database.AbstractSession.readObject
(Class<?> domainClass, String sqlString) PUBLIC: Read the first instance of the class from the database return through execution the SQL string.AbstractSession.readObject
(Class<?> domainClass, Expression expression) PUBLIC: Read the first instance of the class from the database matching the given expression.AbstractSession.readObject
(Class<?> domainClass, Call aCall) PUBLIC: Read the first instance of the class from the database returned through execution the Call string.AbstractSession.readObject
(Object object) PUBLIC: Use the example object to consruct a read object query by the objects primary key.AbstractSession.refreshAndLockObject
(Object object) PUBLIC: Refresh the attributes of the object and of all of its private parts from the database.AbstractSession.refreshAndLockObject
(Object object, short lockMode) PUBLIC: Refresh the attributes of the object and of all of its private parts from the database.AbstractSession.refreshObject
(Object object) PUBLIC: Refresh the attributes of the object and of all of its private parts from the database.UnitOfWorkImpl.registerAllObjects
(Vector domainObjects) PUBLIC: Register the objects with the unit of work.void
AbstractSession.rollbackTransaction()
PUBLIC: Rollback the active database transaction.void
RepeatableWriteUnitOfWork.rollbackTransaction()
INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.protected void
RepeatableWriteUnitOfWork.rollbackTransaction
(boolean intendedToCommitTransaction) INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.void
UnitOfWorkImpl.rollbackTransaction()
INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.protected void
UnitOfWorkImpl.rollbackTransaction
(boolean intendedToCommitTransaction) INTERNAL: rollbackTransaction() with a twist for external transactions.void
DatabaseSessionImpl.setDatasourceAndInitialize()
INTERNAL: Issue any pre connect and post connect without an actual connection to the database.AbstractSession.updateObject
(Object domainObject) PUBLIC: Update the object and all of its privately owned parts in the database.void
DatabaseSessionImpl.writeAllObjects
(Collection domainObjects) PUBLIC: Write all of the objects and all of their privately owned parts in the database.void
DatabaseSessionImpl.writeAllObjects
(Vector domainObjects) PUBLIC: Write all of the objects and all of their privately owned parts in the database.protected void
AbstractSession.writeAllObjectsWithChangeSet
(UnitOfWorkChangeSet uowChangeSet) INTERNAL: Write all of the objects and all of their privately owned parts in the database.AbstractSession.writeObject
(Object domainObject) PUBLIC: Write the object and all of its privately owned parts in the database. -
Uses of DatabaseException in org.eclipse.persistence.internal.sessions.remote
Modifier and TypeMethodDescriptionboolean
RemoteScrollableCursor.absolute
(int rows) Moves the cursor to the given row number in the result setvoid
RemoteScrollableCursor.afterLast()
Moves the cursor to the end of the result set, just after the last row.void
RemoteScrollableCursor.beforeFirst()
Moves the cursor to the front of the result set, just before the first rowvoid
RemoteUnitOfWork.beginEarlyTransaction()
PUBLIC: Tell the unit of work to begin a transaction now.void
RemoteCursoredStream.close()
Close the wrapped cursored stream This should be performed whenever the user has finished with the stream.void
RemoteScrollableCursor.close()
Close the wrapped cursored stream This should be performed whenever the user has finished with the stream.int
RemoteScrollableCursor.currentIndex()
Retrieves the current row index numberRemoteUnitOfWork.executeQuery
(String queryName) PUBLIC: Execute the pre-defined query by name and return the result.RemoteUnitOfWork.executeQuery
(String queryName, Class<?> domainClass) PUBLIC: Execute the pre-defined query by name and return the result.RemoteUnitOfWork.executeQuery
(String queryName, Class<?> domainClass, Vector argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.RemoteUnitOfWork.executeQuery
(String queryName, Vector argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.boolean
RemoteScrollableCursor.first()
Moves the cursor to the first row in the result setRemoteUnitOfWork.internalExecuteQuery
(DatabaseQuery query, AbstractRecord Record) INTERNAL: Return the results from exeucting the database query.boolean
RemoteScrollableCursor.isAfterLast()
Indicates whether the cursor is after the last row in the result set.boolean
RemoteScrollableCursor.isBeforeFirst()
Indicates whether the cursor is before the first row in the result set.boolean
RemoteScrollableCursor.isFirst()
Indicates whether the cursor is on the first row of the result set.boolean
RemoteScrollableCursor.isLast()
Indicates whether the cursor is on the last row of the result set.boolean
RemoteScrollableCursor.last()
Moves the cursor to the last row in the result setboolean
RemoteScrollableCursor.relative
(int rows) Moves the cursor a relative number of rows, either positive or negative.protected Object
RemoteScrollableCursor.retrieveNextObject()
INTERNAL: This method differs slightly from conventional read() operation on a Java stream.protected Object
RemoteCursoredStream.retrieveNextPage()
Read the next page of objects from the server.protected Object
RemoteScrollableCursor.retrievePreviousObject()
INTERNAL: CR#4139 Read the previous row from the result set. -
Uses of DatabaseException in org.eclipse.persistence.mappings
Modifier and TypeMethodDescriptionAggregateObjectMapping.buildAggregateFromRow
(AbstractRecord databaseRow, Object targetObject, CacheKey cacheKey, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, boolean buildShallowOriginal, AbstractSession executionSession, boolean targetIsProtected) INTERNAL: Build and return an aggregate object from the specified row.protected void
AggregateCollectionMapping.compareListsAndWrite
(List previousList, List currentList, WriteObjectQuery query) INTERNAL: Old and new lists are compared and only the changes are written to the database.protected void
CollectionMapping.compareListsAndWrite
(List previousList, List currentList, WriteObjectQuery query) INTERNAL: Old and new lists are compared and only the changes are written to the database.protected void
AggregateCollectionMapping.compareListsAndWrite_NonUpdatableListOrderField
(List previousList, List currentList, WriteObjectQuery query) INTERNAL: Old and new lists are compared and only the changes are written to the database.protected void
AggregateCollectionMapping.compareListsAndWrite_UpdatableListOrderField
(List previousList, List currentList, WriteObjectQuery query) INTERNAL: Old and new lists are compared and only the changes are written to the database.protected void
CollectionMapping.compareObjectsAndWrite
(WriteObjectQuery query) INTERNAL: The memory objects are compared and only the changes are written to the database.protected void
AggregateCollectionMapping.deleteAll
(DeleteObjectQuery query, AbstractSession session) To delete all the entries matching the selection criteria from the table stored in the referenced descriptorprotected void
OneToManyMapping.deleteAll
(DeleteObjectQuery query, AbstractSession session) Delete all the reference objects with a single query.protected void
OneToManyMapping.deleteReferenceObjectsLeftOnDatabase
(DeleteObjectQuery query) This method will make sure that all the records privately owned by this mapping are actually removed.AggregateCollectionMapping.getReferenceObjectKeys
(ObjectLevelModifyQuery query) INTERNAL: get reference object keysprotected void
ObjectReferenceMapping.insert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsprotected void
ManyToManyMapping.insertAddedObjectEntry
(ObjectLevelModifyQuery query, Object objectAdded, Map extraData) INTERNAL: An object was added to the collection during an update, insert it.void
ManyToManyMapping.insertIntoRelationTable
(WriteObjectQuery query) INTERNAL: Insert into relation table.void
ManyToManyMapping.insertTargetObjects
(WriteObjectQuery query) INTERNAL: Write the target objects if the cascade policy requires them to be written first.protected void
AggregateCollectionMapping.objectAddedDuringUpdate
(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected void
CollectionMapping.objectAddedDuringUpdate
(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected void
ManyToManyMapping.objectAddedDuringUpdate
(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected void
OneToManyMapping.objectAddedDuringUpdate
(ObjectLevelModifyQuery query, Object objectAdded, ObjectChangeSet changeSet, Map extraData) INTERNAL: An object was added to the collection during an update, insert it if private.protected void
AggregateCollectionMapping.objectRemovedDuringUpdate
(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected void
CollectionMapping.objectRemovedDuringUpdate
(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected void
ManyToManyMapping.objectRemovedDuringUpdate
(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected void
OneToManyMapping.objectRemovedDuringUpdate
(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData) INTERNAL: An object was removed to the collection during an update, delete it if private.protected void
AggregateCollectionMapping.objectUnchangedDuringUpdate
(ObjectLevelModifyQuery query, Object object, Object backupClone) protected void
AggregateCollectionMapping.objectUnchangedDuringUpdate
(ObjectLevelModifyQuery query, Object object, Map backupCloneKeyedCache, Object cachedKey) INTERNAL: An object is still in the collection, update it as it may have changed.protected void
CollectionMapping.objectUnchangedDuringUpdate
(ObjectLevelModifyQuery query, Object object) INTERNAL: An object is still in the collection, update it as it may have changed.protected void
CollectionMapping.objectUnchangedDuringUpdate
(ObjectLevelModifyQuery query, Object object, Map backupclones, Object key) INTERNAL: An object is still in the collection, update it as it may have changed.void
DatabaseMapping.performDataModificationEvent
(Object[] event, AbstractSession session) INTERNAL: Perform the commit event.void
DirectCollectionMapping.performDataModificationEvent
(Object[] event, AbstractSession session) INTERNAL: Perform the commit event.void
DirectMapMapping.performDataModificationEvent
(Object[] event, AbstractSession session) INTERNAL: Perform the commit event.void
ManyToManyMapping.performDataModificationEvent
(Object[] event, AbstractSession session) INTERNAL: Perform the commit event.void
OneToManyMapping.performDataModificationEvent
(Object[] event, AbstractSession session) INTERNAL: Perform the commit event.void
OneToOneMapping.performDataModificationEvent
(Object[] event, AbstractSession session) INTERNAL: Perform the commit event.void
AggregateMapping.postDelete
(DeleteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
CollectionMapping.postDelete
(DeleteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
DatabaseMapping.postDelete
(DeleteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
ObjectReferenceMapping.postDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
AggregateMapping.postDeleteAttributeValue
(DeleteObjectQuery query, Object attributeValue) INTERNAL: The message is passed to its reference class descriptor.void
AggregateCollectionMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
AggregateMapping.postInsert
(WriteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
CollectionMapping.postInsert
(WriteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
DatabaseMapping.postInsert
(WriteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
DirectCollectionMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert the private owned object.void
DirectMapMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert the private owned object.void
ManyToManyMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert into relation table.void
ObjectReferenceMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
OneToManyMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert the reference objects.void
OneToOneMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert into relation table.void
AggregateMapping.postInsertAttributeValue
(WriteObjectQuery query, Object attributeValue) INTERNAL: The message is passed to its reference class descriptor.void
AggregateCollectionMapping.postUpdate
(WriteObjectQuery writeQuery) INTERNAL: Update the privately owned partsvoid
AggregateMapping.postUpdate
(WriteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
DatabaseMapping.postUpdate
(WriteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
DirectCollectionMapping.postUpdate
(WriteObjectQuery writeQuery) INTERNAL: Update private owned part.void
ManyToManyMapping.postUpdate
(WriteObjectQuery query) INTERNAL: Update the relation table with the entries related to this mapping.void
ObjectReferenceMapping.postUpdate
(WriteObjectQuery query) INTERNAL: Update privately owned partsvoid
OneToManyMapping.postUpdate
(WriteObjectQuery query) INTERNAL: Update the reference objects.void
OneToOneMapping.postUpdate
(WriteObjectQuery query) INTERNAL: Update the relation table with the entries related to this mapping.void
AggregateMapping.postUpdateAttributeValue
(WriteObjectQuery query, Object attributeValue) INTERNAL: The message is passed to its reference class descriptor.protected void
DirectCollectionMapping.postUpdateWithChangeSet
(WriteObjectQuery writeQuery) INTERNAL: Update private owned part.protected void
DirectMapMapping.postUpdateWithChangeSet
(WriteObjectQuery writeQuery) INTERNAL: Update private owned part.protected void
DirectCollectionMapping.postUpdateWithChangeSetListOrder
(WriteObjectQuery writeQuery) INTERNAL: Update private owned part.void
AggregateCollectionMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
AggregateMapping.preDelete
(DeleteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
DatabaseMapping.preDelete
(DeleteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
DirectCollectionMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete private owned part.void
DirectMapMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Propagate the preDelete event through the container policy if necessaryvoid
ManyToManyMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete entries related to this mapping from the relation table.void
ObjectReferenceMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
OneToManyMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete the reference objects.void
OneToOneMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
UnidirectionalOneToManyMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete the reference objects.void
AggregateMapping.preDeleteAttributeValue
(DeleteObjectQuery query, Object attributeValue) INTERNAL: The message is passed to its reference class descriptor.void
AggregateCollectionMapping.preInsert
(WriteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
AggregateMapping.preInsert
(WriteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
CollectionMapping.preInsert
(WriteObjectQuery query) INTERNAL: Propagate preInsert event to container policy if necessaryvoid
DatabaseMapping.preInsert
(WriteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
ObjectReferenceMapping.preInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
AggregateMapping.preInsertAttributeValue
(WriteObjectQuery query, Object attributeValue) INTERNAL: The message is passed to its reference class descriptor.void
AggregateMapping.preUpdate
(WriteObjectQuery query) INTERNAL: The message is passed to its reference class descriptor.void
CollectionMapping.preUpdate
(WriteObjectQuery query) INTERNAL: Propagate preUpdate event to container policy if necessaryvoid
DatabaseMapping.preUpdate
(WriteObjectQuery query) INTERNAL: A subclass should implement this method if it wants different behavior.void
ObjectReferenceMapping.preUpdate
(WriteObjectQuery query) INTERNAL: Update privately owned partsvoid
AggregateMapping.preUpdateAttributeValue
(WriteObjectQuery query, Object attributeValue) INTERNAL: The message is passed to its reference class descriptor.AggregateObjectMapping.readFromReturnRowIntoObject
(AbstractRecord row, Object targetObject, ReadObjectQuery query, Collection handledMappings, ObjectChangeSet changeSet) INTERNAL: Build an aggregate object from the specified return row and put it in the specified target object.AggregateObjectMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Build an aggregate object from the specified row and put it in the specified target object.DatabaseMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to this value in the object.ForeignReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to this value in the object.protected Object
CollectionMapping.readPrivateOwnedForObject
(ObjectLevelModifyQuery modifyQuery) INTERNAL: All the privately owned parts are readprotected Object
ObjectReferenceMapping.readPrivateOwnedForObject
(ObjectLevelModifyQuery modifyQuery) INTERNAL: Reads the private owned object.protected Object
OneToOneMapping.readPrivateOwnedForObject
(ObjectLevelModifyQuery modifyQuery) INTERNAL: Reads the private owned object.protected void
ObjectReferenceMapping.update
(WriteObjectQuery query) INTERNAL: Update the private owned part.void
OneToManyMapping.updateTargetForeignKeyPostUpdateSource_ObjectAdded
(ObjectLevelModifyQuery query, Object objectAdded, Map extraData) INTERNAL: Update target foreign key after a target object was added to the source.void
OneToManyMapping.updateTargetForeignKeyPostUpdateSource_ObjectRemoved
(ObjectLevelModifyQuery query, Object objectRemoved) INTERNAL: Update target foreign key after a target object was removed from the source.void
OneToManyMapping.updateTargetRowPostInsertSource
(WriteObjectQuery query) INTERNAL: Update target foreign keys after a new source was inserted.void
OneToManyMapping.updateTargetRowPreDeleteSource
(ObjectLevelModifyQuery query) INTERNAL: Update target foreign key after a target object was removed from the source.DatabaseMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected) INTERNAL: A subclass should implement this method if it wants different behavior.DatabaseMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: A subclass should implement this method if it wants different behavior.DirectCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession session, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the reference attribute or a value holder.ForeignReferenceMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the reference attribute or a value holder.VariableOneToOneMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
ForeignReferenceMapping.valueFromRowInternal
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession) INTERNAL: Return the value of the reference attribute or a value holder.protected Object
ForeignReferenceMapping.valueFromRowInternal
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject) INTERNAL: Return the value of the reference attribute or a value holder.protected Object
OneToOneMapping.valueFromRowInternal
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
CollectionMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
DirectCollectionMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
DirectMapMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected Object
ForeignReferenceMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: If the query used joining or partial attributes, build the target object directly.protected Object
OneToOneMapping.valueFromRowInternalWithJoin
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey parentCacheKey, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.boolean
AggregateCollectionMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: Checks if object is deleted from the database or not.boolean
AggregateMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: Return whether the specified object and all its components have been deleted.boolean
CollectionMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: Checks if object is deleted from the database or not.boolean
DatabaseMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: To verify if the specified object has been deleted or not.boolean
DirectCollectionMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: Checks if object is deleted from the database or not.boolean
ObjectReferenceMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: To verify if the specified object is deleted or not.boolean
OneToManyMapping.verifyDelete
(Object object, AbstractSession session) INTERNAL: Used to verify whether the specified object is deleted or not.protected void
AggregateCollectionMapping.verifyDeleteForUpdate
(DeleteObjectQuery query) Verifying deletes make sure that all the records privately owned by this mapping are actually removed.protected boolean
AggregateMapping.verifyDeleteOfAttributeValue
(Object attributeValue, AbstractSession session) INTERNAL: Return whether the specified object and all its components have been deleted.void
CollectionMapping.writeChanges
(ObjectChangeSet changeSet, WriteObjectQuery query) INTERNAL: Write the changes defined in the change set for the mapping. -
Uses of DatabaseException in org.eclipse.persistence.mappings.foundation
Modifier and TypeMethodDescriptionvoid
AbstractCompositeCollectionMapping.postDeleteAttributeValue
(DeleteObjectQuery query, Object attributeValue) The message is passed to its reference class descriptor.void
AbstractCompositeCollectionMapping.postInsertAttributeValue
(WriteObjectQuery query, Object attributeValue) The message is passed to its reference class descriptor.void
AbstractCompositeCollectionMapping.postUpdateAttributeValue
(WriteObjectQuery query, Object attributeValue) The message is passed to its reference class descriptor.void
AbstractCompositeCollectionMapping.preDeleteAttributeValue
(DeleteObjectQuery query, Object attributeValue) The message is passed to its reference class descriptor.void
AbstractCompositeCollectionMapping.preInsertAttributeValue
(WriteObjectQuery query, Object attributeValue) The message is passed to its reference class descriptor.void
AbstractCompositeCollectionMapping.preUpdateAttributeValue
(WriteObjectQuery query, Object attributeValue) The message is passed to its reference class descriptor.AbstractTransformationMapping.readFromReturnRowIntoObject
(AbstractRecord row, Object object, ReadObjectQuery query, Collection handledMappings, ObjectChangeSet changeSet) INTERNAL: Extracts value from return row and set the attribute to the value in the object.AbstractTransformationMapping.readFromRowIntoObject
(AbstractRecord row, JoinedAttributeManager joinManager, Object object, CacheKey parentCacheKey, ObjectBuildingQuery query, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to the value in the object.AbstractCompositeCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build and return an aggregate collection from the specified row.AbstractCompositeDirectCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build the nested collection from the database row.AbstractCompositeObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Extract and return the aggregate object from the specified row.protected boolean
AbstractCompositeCollectionMapping.verifyDeleteOfAttributeValue
(Object attributeValue, AbstractSession session) Return whether the specified object and all its components have been deleted. -
Uses of DatabaseException in org.eclipse.persistence.mappings.structures
Modifier and TypeMethodDescriptionstatic Object
ObjectRelationalDataTypeDescriptor.buildArrayObjectFromArray
(Object array) INTERNAL: Build array of objects for Array data type.static Object
ObjectRelationalDataTypeDescriptor.buildArrayObjectFromStruct
(Object structure) INTERNAL: Build array of objects for Struct data type.static Object
ObjectRelationalDataTypeDescriptor.buildContainerFromArray
(Array fieldValue, ObjectRelationalDatabaseField arrayField, AbstractSession session) INTERNAL: Build and return the nested rows from the specified field value.ObjectRelationalDataTypeDescriptor.buildDirectValuesFromFieldValue
(Object fieldValue) INTERNAL: Extract the direct values from the specified field value.ObjectRelationalDataTypeDescriptor.buildFieldValueFromDirectValues
(Vector directValues, String elementDataTypeName, AbstractSession session) INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectRelationalDataTypeDescriptor.buildFieldValueFromNestedRow
(AbstractRecord nestedRow, AbstractSession session) INTERNAL: Build and return the field value from the specified nested database row.ObjectRelationalDataTypeDescriptor.buildFieldValueFromNestedRows
(Vector nestedRows, String structureName, AbstractSession session) INTERNAL: Build and return the appropriate field value for the specified set of nested rows.ObjectRelationalDataTypeDescriptor.buildNestedRowFromFieldValue
(Object fieldValue) INTERNAL: Build and return the nested database row from the specified field value.ObjectRelationalDataTypeDescriptor.buildNestedRowsFromFieldValue
(Object fieldValue, AbstractSession session) INTERNAL: Build and return the nested rows from the specified field value.ObjectRelationalDataTypeDescriptor.buildRowFromStructure
(Struct structure) INTERNAL: Build a row representation from the ADT structure field array.ObjectRelationalDataTypeDescriptor.buildStructureFromRow
(AbstractRecord row, AbstractSession session, Connection connection) INTERNAL: Build a ADT structure from the row data.void
ReferenceMapping.postDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
ReferenceMapping.postInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
ReferenceMapping.postUpdate
(WriteObjectQuery query) INTERNAL: Update privately owned partsvoid
NestedTableMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
ReferenceMapping.preDelete
(DeleteObjectQuery query) INTERNAL: Delete privately owned partsvoid
NestedTableMapping.preInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
ReferenceMapping.preInsert
(WriteObjectQuery query) INTERNAL: Insert privately owned partsvoid
NestedTableMapping.preUpdate
(WriteObjectQuery query) INTERNAL: Update the privately owned partsvoid
ReferenceMapping.preUpdate
(WriteObjectQuery query) INTERNAL: Update privately owned partsReferenceMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Return the value of the field from the row or a value holder on the query to obtain the object.protected void
NestedTableMapping.verifyDeleteForUpdate
(DeleteObjectQuery query) INTERNAL: Verifying deletes make sure that all the records privately owned by this mapping are actually removed. -
Uses of DatabaseException in org.eclipse.persistence.nosql.adapters.mongo
Modifier and TypeMethodDescriptionMongoConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection. -
Uses of DatabaseException in org.eclipse.persistence.nosql.adapters.nosql
Modifier and TypeMethodDescriptionOracleNoSQLConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection. -
Uses of DatabaseException in org.eclipse.persistence.nosql.adapters.sdk
Modifier and TypeMethodDescriptionOracleNoSQLConnectionSpec.connectToDataSource
(EISAccessor accessor, Properties properties) Connect with the specified properties and return the Connection.<T> T
OracleNoSQLPlatform.convertObject
(Object sourceObject, Class<T> javaClass) INTERNAL: Allow for conversion from the Oracle type to the Java type. -
Uses of DatabaseException in org.eclipse.persistence.oxm
Modifier and TypeMethodDescriptionXMLDescriptor.buildDirectValuesFromFieldValue
(Object fieldValue) INTERNAL: Extract the direct values from the specified field value.XMLDescriptor.buildFieldValueFromDirectValues
(Vector directValues, String elementDataTypeName, AbstractSession session) INTERNAL: Build the appropriate field value for the specified set of direct values.XMLDescriptor.buildFieldValueFromNestedRows
(Vector nestedRows, String structureName, AbstractSession session) INTERNAL: Build and return the appropriate field value for the specified set of nested rows. -
Uses of DatabaseException in org.eclipse.persistence.oxm.mappings
Modifier and TypeMethodDescriptionXMLChoiceObjectMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLCollectionReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and stored it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.XMLCollectionReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected, Object container) INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and stored it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.XMLCompositeObjectMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLObjectReferenceMapping.readFromRowIntoObject
(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract the primary key values from the row, then create an org.eclipse.persistence.internal.oxm.Reference instance and store it on the session's org.eclipse.persistence.internal.oxm.ReferenceResolver.XMLTransformationMapping.readFromRowIntoObject
(XMLRecord row, Object object, AbstractSession executionSession, boolean isTargetProtected) INTERNAL: Extract value from the row and set the attribute to the value in the object.XMLAnyAttributeMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLAnyCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLAnyObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLChoiceCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLChoiceObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLCompositeCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLCompositeDirectCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build the nested collection from the database row.XMLCompositeObjectMapping.valueFromRow
(Object fieldValue, XMLRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected) XMLCompositeObjectMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) XMLFragmentCollectionMapping.valueFromRow
(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed) INTERNAL: Build the nested collection from the database row. -
Uses of DatabaseException in org.eclipse.persistence.platform.database
Modifier and TypeMethodDescriptionboolean
OraclePlatform.isLockTimeoutException
(DatabaseException e) Return true if the given exception occurred as a result of a lock time out exception (WAIT clause). -
Uses of DatabaseException in org.eclipse.persistence.platform.database.oracle
Modifier and TypeMethodDescriptionOracleOCIProxyConnector.connect
(Properties properties, Session session) INTERNAL: In case "proxytype" property is specified connects using proxy connection, otherwise calls its superclass.<T> T
Oracle9Platform.convertObject
(Object sourceObject, Class<T> javaClass) INTERNAL: Allow for conversion from the Oracle type to the Java type. -
Uses of DatabaseException in org.eclipse.persistence.queries
Modifier and TypeMethodDescriptionboolean
ScrollableCursor.absolute
(int rows) PUBLIC: Moves the cursor to the given row number in the result setvoid
ScrollableCursor.afterLast()
PUBLIC: Moves the cursor to the end of the result set, just after the last row.boolean
CursoredStream.atEnd()
PUBLIC: Return whether the cursored stream is at its end.int
CursoredStream.available()
PUBLIC: Returns the number of objects that can be read from this input without blocking.void
ScrollableCursor.beforeFirst()
PUBLIC: Moves the cursor to the front of the result set, just before the first rowvoid
Cursor.close()
PUBLIC: Closes the stream.int
ScrollableCursor.currentIndex()
PUBLIC: Retrieves the current row index numberDatabaseQuery.execute
(AbstractSession session, AbstractRecord translationRow) INTERNAL: Execute the query.DataReadQuery.execute
(AbstractSession session, AbstractRecord row) INTERNAL: Execute the query.ObjectLevelReadQuery.execute
(AbstractSession session, AbstractRecord translationRow) INTERNAL: Execute the query.ReadAllQuery.execute
(AbstractSession session, AbstractRecord row) INTERNAL: Execute the query.ReadObjectQuery.execute
(AbstractSession session, AbstractRecord row) INTERNAL: Execute the query.void
InsertObjectQuery.executeCommit()
INTERNAL: Perform an insert.void
UpdateObjectQuery.executeCommit()
INTERNAL: Perform an update.void
WriteObjectQuery.executeCommit()
INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.void
InsertObjectQuery.executeCommitWithChangeSet()
INTERNAL: Perform an insert.void
UpdateObjectQuery.executeCommitWithChangeSet()
INTERNAL: Perform an update.void
WriteObjectQuery.executeCommitWithChangeSet()
INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.abstract Object
DatabaseQuery.executeDatabaseQuery()
INTERNAL: Execute the queryDataModifyQuery.executeDatabaseQuery()
INTERNAL: Perform the work to execute the SQL call.DataReadQuery.executeDatabaseQuery()
INTERNAL: Execute the query.DeleteAllQuery.executeDatabaseQuery()
INTERNAL: Perform the work to delete a collection of objects.DeleteObjectQuery.executeDatabaseQuery()
INTERNAL: Perform the work to delete an object.DoesExistQuery.executeDatabaseQuery()
INTERNAL: Return if the object exists on the database.ObjectLevelReadQuery.executeDatabaseQuery()
INTERNAL: Executes the prepared query on the datastore.ReportQuery.executeDatabaseQuery()
INTERNAL: Execute the query.ResultSetMappingQuery.executeDatabaseQuery()
INTERNAL: Executes the prepared query on the datastore.UpdateAllQuery.executeDatabaseQuery()
INTERNAL: Issue the SQL to the database and then merge into the cache.WriteObjectQuery.executeDatabaseQuery()
INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.void
DeleteAllQuery.executeDeleteAll
(AbstractSession session, AbstractRecord translationRow, Vector objects) INTERNAL: Delete all queries are executed specially to avoid cloning and ensure preparing.DatabaseQuery.executeInUnitOfWork
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: Override query execution where Session is a UnitOfWork.DeleteAllQuery.executeInUnitOfWork
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: This method has to be broken.ModifyAllQuery.executeInUnitOfWork
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: Override query execution where Session is a UnitOfWork.ObjectLevelModifyQuery.executeInUnitOfWork
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: All have done is move code from UnitOfWork.internalExecuteQueryObjectLevelReadQuery.executeInUnitOfWork
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: Execute the query in the unit of work.protected Object
DeleteObjectQuery.executeInUnitOfWorkObjectLevelModifyQuery
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: Code was moved from UnitOfWork.internalExecuteQueryprotected Object
ObjectLevelModifyQuery.executeInUnitOfWorkObjectLevelModifyQuery
(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow) INTERNAL: This code was moved from UnitOfWork.internalExecuteQuery.protected Object
DataReadQuery.executeNonCursor()
INTERNAL: The results are *not* in a cursor, build the collection.protected abstract Object
ObjectLevelReadQuery.executeObjectLevelReadQuery()
Executes the prepared query on the datastore.protected Object
ReadAllQuery.executeObjectLevelReadQuery()
INTERNAL: Execute the query.protected Object
ReadObjectQuery.executeObjectLevelReadQuery()
INTERNAL: Execute the query.protected abstract Object
ObjectLevelReadQuery.executeObjectLevelReadQueryFromResultSet()
Executes the prepared query on the datastore.protected Object
ReadAllQuery.executeObjectLevelReadQueryFromResultSet()
INTERNAL: Execute the query building the objects directly from the database result-set.protected Object
ReadObjectQuery.executeObjectLevelReadQueryFromResultSet()
INTERNAL: Execute the query building the objects directly from the database result-set.protected void
Cursor.finalize()
Close in case not closed.boolean
ScrollableCursor.first()
PUBLIC: Moves the cursor to the first row in the result setprotected abstract int
Cursor.getCursorSize()
INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.protected int
CursoredStream.getCursorSize()
INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.protected int
ScrollableCursor.getCursorSize()
INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.int
ScrollableCursor.getPosition()
PUBLIC: Retrieves the current cursor position (current row).boolean
ScrollableCursor.hasMoreElements()
PUBLIC: Indicates whether the cursor can move to the the next rowboolean
ScrollableCursor.hasNext()
PUBLIC: Indicates whether the cursor can move to the the next rowboolean
ScrollableCursor.hasNextElement()
PUBLIC: Indicates whether the cursor can move to the the next rowboolean
ScrollableCursor.hasPrevious()
PUBLIC: Indicates whether the cursor can move to the the previous rowboolean
ScrollableCursor.isAfterLast()
PUBLIC: Indicates whether the cursor is after the last row in the result set.boolean
ScrollableCursor.isBeforeFirst()
PUBLIC: Indicates whether the cursor is before the first row in the result set.boolean
ScrollableCursor.isFirst()
PUBLIC: Indicates whether the cursor is on the first row of the result set.boolean
ScrollableCursor.isLast()
PUBLIC: Indicates whether the cursor is on the last row of the result set.boolean
ScrollableCursor.last()
PUBLIC: Moves the cursor to the last row in the result setScrollableCursor.next()
PUBLIC: This method differs slightly from conventional read() operation on a Java stream.ScrollableCursor.next
(int number) PUBLIC: This method differs slightly from conventional read() operation on a Java stream.ScrollableCursor.nextElement()
PUBLIC: Return the next object from the collection, if beyond the read limit read from the cursor.int
ScrollableCursor.nextIndex()
PUBLIC: Retrieves the next row index (against the current row)CursoredStream.peek()
PUBLIC: Return the next object in the stream, without incrementing the stream's position.ScrollableCursor.previous()
PUBLIC: Return the previous object from the collection.int
ScrollableCursor.previousIndex()
PUBLIC: Retrieves the previous row index (against the current row)CursoredStream.read()
PUBLIC: This method differs slightly from conventional read() operation on a Java stream.CursoredStream.read
(int number) PUBLIC: This method differs slightly from conventional read() operation on a Java stream.boolean
ScrollableCursor.relative
(int rows) PUBLIC: Moves the cursor a relative number of rows, either positive or negative.ReadQuery.remoteExecute
(AbstractSession session) INTERNAL: Return if this is a read query.protected abstract Object
Cursor.retrieveNextObject()
INTERNAL: Read the next row from the result set.protected Object
CursoredStream.retrieveNextObject()
protected Object
ScrollableCursor.retrieveNextObject()
INTERNAL: Read the next row from the result set.protected Object
CursoredStream.retrieveNextPage()
INTERNAL: Retrieve and add the next page size of rows to the vector.protected Object
ScrollableCursor.retrievePreviousObject()
INTERNAL: CR#4139 Read the previous row from the result set.int
Cursor.size()
PUBLIC: Retrieve the size of the open cursor by executing a count on the same query as the cursor. -
Uses of DatabaseException in org.eclipse.persistence.sessions
Modifier and TypeMethodDescriptionvoid
UnitOfWork.assignSequenceNumber
(Object object) ADVANCED: Assign sequence number to the object.void
UnitOfWork.assignSequenceNumbers()
ADVANCED: Assign sequence numbers to all new objects registered in this unit of work, or any new objects reference by any objects registered.void
UnitOfWork.beginEarlyTransaction()
PUBLIC: Tell the unit of work to begin a transaction now.void
DatabaseSession.beginTransaction()
PUBLIC: Begin a transaction on the database.void
UnitOfWork.commit()
PUBLIC: Commit the unit of work to its parent.void
UnitOfWork.commitAndResume()
PUBLIC: Commit the unit of work to its parent.void
UnitOfWork.commitAndResumeOnFailure()
PUBLIC: Commit the unit of work to its parent.void
DatabaseSession.commitTransaction()
PUBLIC: Commit the active database transaction.DefaultConnector.connect
(Properties properties, Session session) INTERNAL: Connect with the specified properties and session.JNDIConnector.connect
(Properties properties, Session session) INTERNAL: Connect with the specified properties and return the Connection.DatasourceLogin.connectToDatasource
(Accessor accessor, Session session) INTERNAL: Connect to the datasource, and return the driver level connection object.Login.connectToDatasource
(Accessor accessor, Session session) INTERNAL: Connect to the datasource, and return the driver level connection object.DatabaseSession.deleteObject
(Object domainObject) PUBLIC: Delete the object and all of its privately owned parts from the database.protected Connection
DefaultConnector.directConnect
(Properties properties) INTERNAL: Connect directly - without using DriverManager.boolean
Session.doesObjectExist
(Object object) PUBLIC: Return if the object exists on the database or not.DatabaseSession.insertObject
(Object domainObject) PUBLIC: Insert the object and all of its privately owned parts into the database.protected void
DefaultConnector.instantiateDriver()
INTERNAL: Instantiate the Driver.protected void
DefaultConnector.loadDriverClass
(Session session) INTERNAL: Ensure that the driver has been loaded and registered with the DriverManager.void
DatabaseSession.login()
PUBLIC: Connect to the database using the predefined login.void
PUBLIC: Connect to the database using the given user name and password.void
PUBLIC: Connect to the database using the given login.void
DatabaseSession.logout()
PUBLIC: Disconnect from the database.Session.readAllObjects
(Class<?> domainClass) PUBLIC: Read all of the instances of the class from the database.Session.readAllObjects
(Class<?> domainClass, Expression selectionCriteria) PUBLIC: Read all of the instances of the class from the database matching the given expression.Session.readAllObjects
(Class<?> domainClass, Call aCall) PUBLIC: Read all the instances of the class from the database returned through execution the Call string.Session.readObject
(Class<?> domainClass) PUBLIC: Read the first instance of the class from the database.Session.readObject
(Class<?> domainClass, Expression selectionCriteria) PUBLIC: Read the first instance of the class from the database matching the given expression.Session.readObject
(Class<?> domainClass, Call aCall) PUBLIC: Read the first instance of the class from the database returned through execution the Call string.Session.readObject
(Object object) PUBLIC: Use the example object to construct a read object query by the objects primary key.void
ExternalTransactionController.registerSynchronizationListener
(UnitOfWorkImpl uow, AbstractSession session) INTERNAL: Register a listener on the unit of work.void
DatabaseSession.rollbackTransaction()
PUBLIC: Rollback the active database transaction.DatabaseSession.updateObject
(Object domainObject) PUBLIC: Update the object and all of its privately owned parts in the database.DatabaseSession.writeObject
(Object domainObject) PUBLIC: Write the object and all of its privately owned parts in the database. -
Uses of DatabaseException in org.eclipse.persistence.sessions.broker
Modifier and TypeMethodDescriptionSessionBroker.retryQuery
(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A query execution failed due to an invalid query.Modifier and TypeMethodDescriptionprotected void
SessionBroker.basicBeginTransaction()
INTERNAL: Begin the transaction on all child sessions.protected void
SessionBroker.basicCommitTransaction()
INTERNAL: Commit the transaction on all child sessions.protected void
SessionBroker.basicRollbackTransaction()
INTERNAL: Rollback the transaction on all child sessions.SessionBroker.internalExecuteQuery
(DatabaseQuery query, AbstractRecord row) INTERNAL: Return the results from exeucting the database query.void
SessionBroker.login()
PUBLIC: Connect to the database using the predefined login.void
PUBLIC: Connect to the database using the predefined login.void
SessionBroker.loginAndDetectDatasource()
PUBLIC: Connect to the database using the predefined login.void
SessionBroker.logout()
PUBLIC: Disconnect from all databases. -
Uses of DatabaseException in org.eclipse.persistence.sessions.remote
Modifier and TypeMethodDescriptionvoid
DistributedSession.connect()
INTERNAL: Connect not required.void
DistributedSession.disconnect()
INTERNAL: Disconnect not required.DistributedSession.executeQuery
(String queryName) PUBLIC: Execute the pre-defined query by name and return the result.DistributedSession.executeQuery
(String queryName, Class<?> domainClass) PUBLIC: Execute the pre-defined query by name and return the result.DistributedSession.executeQuery
(String queryName, Class<?> domainClass, Vector argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.DistributedSession.executeQuery
(String queryName, Vector argumentValues) PUBLIC: Execute the pre-defined query by name and return the result.void
DistributedSession.login()
PUBLIC: Connect to the database using the predefined login.void
DistributedSession.loginAndDetectDatasource()
PUBLIC: Connect to the database using the predefined login. -
Uses of DatabaseException in org.eclipse.persistence.sessions.server
Modifier and TypeMethodDescriptionClientSession.retryTransaction
(Accessor writeConnection, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A begin transaction failed.Modifier and TypeMethodDescriptionClientSession.retryQuery
(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A query execution failed due to an invalid query.ClientSession.retryTransaction
(Accessor writeConnection, DatabaseException databaseException, int retryCount, AbstractSession executionSession) INTERNAL: A begin transaction failed.Modifier and TypeMethodDescriptionvoid
ServerSession.acquireClientConnection
(ClientSession clientSession) INTERNAL: Allocate the client's connection resource.Server.acquireClientSession()
PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession()
PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(String poolName) PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(String poolName, Map properties) PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(Map properties) PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(Login login) PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(Login login, Map properties) PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(ConnectionPolicy connectionPolicy) PUBLIC: Return a client session for this server session.ServerSession.acquireClientSession
(ConnectionPolicy connectionPolicy, Map properties) PUBLIC: Return a client session for this server session.void
INTERNAL: Connect the session only (this must be the write connection as the read is shared).void
ClientSession.disconnect
(Accessor accessor) INTERNAL: Disconnect the accessor only (this must be the write connection as the read is shared).void
ServerSession.disconnect()
INTERNAL: Disconnect the accessor only.ClientSession.executeCall
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Execute the call on the correct connection accessor.ServerSession.executeCall
(Call call, AbstractRecord translationRow, DatabaseQuery query) INTERNAL: Execute the call on the correct connection accessor.ServerSession.executeQuery
(DatabaseQuery query, List argumentValues) PUBLIC: Return the results from executing the database query.void
ClientSession.release()
INTERNAL: Was PUBLIC: customer will be redirected toSession
.void
ServerSession.releaseClientSession
(ClientSession clientSession) INTERNAL: Release the clients connection resource.void
ConnectionPool.releaseConnection
(Accessor connection) INTERNAL: Add the connection as single that a new connection is available.void
ExternalConnectionPool.releaseConnection
(Accessor connection) INTERNAL: When you release an external connection, you simply let it go.void
ReadConnectionPool.releaseConnection
(Accessor connection) INTERNAL: Because connections are not exclusive nothing is required.void
ServerSession.releaseInvalidClientSession
(ClientSession clientSession) INTERNAL: Release any invalid connection in the client session. -
Uses of DatabaseException in org.eclipse.persistence.tools.schemaframework
Modifier and TypeMethodDescriptionabstract boolean
SequenceDefinition.checkIfExist
(AbstractSession session) INTERAL: Verify whether the sequence exists.boolean
SequenceObjectDefinition.checkIfExist
(AbstractSession session) INTERNAL: Check if the sequence object already exists, in which case dont create it.boolean
TableSequenceDefinition.checkIfExist
(AbstractSession session) INTERAL: Execute the SQL required to insert the sequence row into the sequence table.boolean
UnaryTableSequenceDefinition.checkIfExist
(AbstractSession session) INTERAL: Verify whether the sequence exists.DefaultTableGenerator.generateFilteredDefaultTableCreator
(AbstractSession session) Generate a default TableCreator object from the EclipseLink project object, and perform the table existence check through jdbc table metadata, and filter out tables which are already in the database.SchemaManager.getAllColumnNames
(String tableName) Get a description of table columns available in a catalog.SchemaManager.getAllColumnNames
(String creatorName, String tableName) Get a description of table columns available in a catalog.SchemaManager.getAllTableNames()
Get a description of tables available in a catalog.SchemaManager.getAllTableNames
(String creatorName) Get a description of table columns available in a catalog.SchemaManager.getColumnInfo
(String tableName, String columnName) SchemaManager.getColumnInfo
(String catalog, String schema, String tableName, String columnName) Get a description of table columns available in a catalog.SchemaManager.getTableInfo
(String catalog, String schema, String tableName, String[] types) Get a description of tables available in a catalog. -
Uses of DatabaseException in org.eclipse.persistence.transaction
Modifier and TypeMethodDescriptionvoid
AbstractTransactionController.registerSynchronizationListener
(UnitOfWorkImpl uow, AbstractSession session) INTERNAL: Associate the given unit of work and EclipseLink session with the current external transaction.