Uses of Class
org.eclipse.persistence.exceptions.DatabaseException
-
-
Uses of DatabaseException in org.eclipse.persistence.descriptors
Methods in org.eclipse.persistence.descriptors that throw DatabaseException Modifier and Type Method Description voidSelectedFieldsLockingPolicy. addLockValuesToTranslationRow(ObjectLevelModifyQuery query)INTERNAL: Values to be included in the locking mechanism are added to the translation row.VectorClassDescriptor. buildDirectValuesFromFieldValue(Object fieldValue)INTERNAL: Extract the direct values from the specified field value.ObjectClassDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectClassDescriptor. buildFieldValueFromForeignKeys(Vector foreignKeys, String referenceDataTypeName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of foreign keys (i.e.ObjectClassDescriptor. buildFieldValueFromNestedRow(AbstractRecord nestedRow, AbstractSession session)INTERNAL: Build and return the field value from the specified nested database row.ObjectClassDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.AbstractRecordClassDescriptor. buildNestedRowFromFieldValue(Object fieldValue)INTERNAL: Build and return the nested database row from the specified field value.VectorClassDescriptor. buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)INTERNAL: Build and return the nested rows from the specified field value.ObjectInterfacePolicy. selectAllObjectsUsingMultipleTableSubclassRead(ReadAllQuery query)INTERNAL: Select all objects for an interface descriptor.protected VectorInheritancePolicy. selectAllRowUsingCustomMultipleTableSubclassRead(ObjectLevelReadQuery query)INTERNAL: Select all rows from a abstract table descriptor.protected VectorInheritancePolicy. selectAllRowUsingDefaultMultipleTableSubclassRead(ObjectLevelReadQuery query)INTERNAL: Select all rows from a abstract table descriptor.VectorInheritancePolicy. selectAllRowUsingMultipleTableSubclassRead(ObjectLevelReadQuery query)INTERNAL: Select all rows from a abstract table descriptor.ObjectInterfacePolicy. selectOneObjectUsingMultipleTableSubclassRead(ReadObjectQuery query)INTERNAL: Select one object of any concrete subclass.protected AbstractRecordInheritancePolicy. selectOneRowUsingCustomMultipleTableSubclassRead(ReadObjectQuery query)INTERNAL: Select one rows from a abstract table descriptor.protected AbstractRecordInheritancePolicy. selectOneRowUsingDefaultMultipleTableSubclassRead(ReadObjectQuery query)INTERNAL: Select one row of any concrete subclass, This must use two selects, the first retrieves the type field only.AbstractRecordInheritancePolicy. 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
Subclasses of DatabaseException in org.eclipse.persistence.eis Modifier and Type Class Description classEISExceptionUse anEISExceptionwhen any problem is detected while interacting with an EIS datasourceMethods in org.eclipse.persistence.eis that throw DatabaseException Modifier and Type Method Description ObjectEISAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the interaction.voidEISAccessor. basicRollbackTransaction(AbstractSession session)Rollback the local transaction on the datasource.ObjectEISDescriptor. buildFieldValueFromNestedRow(AbstractRecord nestedRow, AbstractSession session)INTERNAL: Build and return the field value from the specified nested database row.ObjectEISDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.jakarta.resource.cci.ConnectionEISConnectionSpec. connectToDataSource(EISAccessor accessor, Properties properties)Connect with the specified properties and return the Connection.ObjectEISAccessor. 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.mappings
Methods in org.eclipse.persistence.eis.mappings that throw DatabaseException Modifier and Type Method Description protected voidEISOneToManyMapping. deleteAll(DeleteObjectQuery query)Delete all the reference objects.protected voidEISOneToManyMapping. deleteAll(DeleteObjectQuery query, Object referenceObjects)Delete all the reference objects.protected voidEISOneToManyMapping. deleteReferenceObjectsLeftOnDatabase(DeleteObjectQuery query)This method will make sure that all the records privately owned by this mapping are actually removed.voidEISOneToManyMapping. postDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidEISOneToManyMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert the reference objects.voidEISOneToManyMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update the reference objects.voidEISOneToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidEISOneToManyMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidEISOneToManyMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update the privately owned parts.protected ObjectEISOneToOneMapping. readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)INTERNAL: Reads the private owned object.ObjectEISOneToManyMapping. 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.ObjectEISOneToOneMapping. 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.booleanEISOneToManyMapping. 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
-
Uses of DatabaseException in org.eclipse.persistence.internal.databaseaccess
Methods in org.eclipse.persistence.internal.databaseaccess that return DatabaseException Modifier and Type Method Description DatabaseExceptionDatabaseAccessor. 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.Methods in org.eclipse.persistence.internal.databaseaccess with parameters of type DatabaseException Modifier and Type Method Description booleanDatabasePlatform. isLockTimeoutException(DatabaseException e)Return true is the given exception occurred as a result of a lock time out exception (WAIT clause).Methods in org.eclipse.persistence.internal.databaseaccess that throw DatabaseException Modifier and Type Method Description voidDatabaseAccessor. basicBeginTransaction(AbstractSession session)Begin a transaction on the database.voidDatabaseAccessor. basicCommitTransaction(AbstractSession session)Commit a transaction on the database.ObjectDatabaseAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatabaseAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session, boolean batch)Execute the call.voidDatabaseAccessor. basicRollbackTransaction(AbstractSession session)Rollback a transaction on the database.voidAccessor. beginTransaction(AbstractSession session)Begin a transaction on the data store.voidDatasourceAccessor. beginTransaction(AbstractSession session)Begin a transaction on the database.AbstractRecordDatabaseAccessor. buildOutputRow(CallableStatement statement, DatabaseCall call, AbstractSession session)Build a row from the output parameters of a sp call.Vector<DatabaseField>DatabaseAccessor. buildSortedFields(Vector<DatabaseField> fields, ResultSet resultSet, AbstractSession session)Return the field sorted in the correct order corresponding to the result set.protected voidDatabaseAccessor. checkTransactionIsolation(AbstractSession session)Check to see if the transaction isolation needs to be set for the newly created connection.voidDatabaseAccessor. closeCursor(ResultSet resultSet, AbstractSession session)Close the result set of the cursored stream.voidDatabaseAccessor. closeDatasourceConnection()Close the connection.voidAccessor. commitTransaction(AbstractSession session)Commit a transaction on the data store.voidDatabaseAccessor. commitTransaction(AbstractSession session)Commit a transaction on the database.voidDatasourceAccessor. commitTransaction(AbstractSession session)Commit a transaction on the database.voidAccessor. connect(Login login, AbstractSession session)Connect to the data store using the configuration information in the login.voidDatasourceAccessor. connect(Login login, AbstractSession session)Connect to the datasource.protected voidDatabaseAccessor. connectInternal(Login login, AbstractSession session)Connect to the database.protected voidDatasourceAccessor. connectInternal(Login login, AbstractSession session)Connect to the database.AbstractRecordDatabaseAccessor. 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.AbstractRecordDatabaseAccessor. 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.voidAccessor. disconnect(AbstractSession session)Disconnect from the data store.voidDatabaseAccessor. disconnect(AbstractSession session)Disconnect from the datasource.voidDatasourceAccessor. disconnect(AbstractSession session)Disconnect from the datasource.protected voidDatabaseAccessor. executeBatchedStatement(PreparedStatement statement, AbstractSession session)Execute the EclipseLink dynamically batched/concatenated statement.ObjectAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatabaseAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatasourceAccessor. executeCall(Call call, AbstractRecord translationRow, AbstractSession session)Execute the call.ObjectDatabaseAccessor. executeDirectNoSelect(Statement statement, DatabaseCall call, AbstractSession session)Execute the statement.protected intDatabaseAccessor. executeJDK12BatchStatement(Statement statement, DatabaseCall dbCall, AbstractSession session, boolean isStatementPrepared)Execute the batched statement through the JDBC2 API.protected ObjectDatabaseAccessor. executeNoSelect(DatabaseCall call, Statement statement, AbstractSession session)Execute the statement.protected AbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.AbstractRecordDatabaseAccessor. fetchRow(Vector<DatabaseField> fields, DatabaseField[] fieldsArray, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session)Return a new DatabaseRow.Vector<AbstractRecord>Accessor. getColumnInfo(String catalog, String schema, String tableName, String columnName, AbstractSession session)Return the column metadata for the specified selection criteria.Vector<AbstractRecord>Accessor. getColumnInfo(String tableName, String columnName, AbstractSession session)Return the column metadata for the specified selection criteria limited to the context of the currentAccessor.Vector<AbstractRecord>DatabaseAccessor. getColumnInfo(String catalog, String schema, String tableName, String columnName, AbstractSession session)Get a description of table columns available in a catalog.Vector<AbstractRecord>DatabaseAccessor. getColumnInfo(String tableName, String columnName, AbstractSession session)Vector<AbstractRecord>DatasourceAccessor. getColumnInfo(String catalog, String schema, String tableName, String columnName, AbstractSession session)Return column information for the specified database objects.Vector<AbstractRecord>DatasourceAccessor. getColumnInfo(String tableName, String columnName, AbstractSession session)ConnectionDatabaseAccessor. getConnection()Return the receiver's connection to its data source.ObjectDatabaseAccessor. 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.Vector<AbstractRecord>Accessor. getTableInfo(String tableName, String[] types, AbstractSession session)Return the table metadata for the specified selection criteria limited to the context of the currentAccessor.Vector<AbstractRecord>Accessor. getTableInfo(String catalog, String schema, String tableName, String[] types, AbstractSession session)Return the table metadata for the specified selection criteria.Vector<AbstractRecord>DatabaseAccessor. getTableInfo(String tableName, String[] types, AbstractSession session)Vector<AbstractRecord>DatabaseAccessor. getTableInfo(String catalog, String schema, String tableName, String[] types, AbstractSession session)Get a description of tables available in a catalog.Vector<AbstractRecord>DatasourceAccessor. getTableInfo(String tableName, String[] types, AbstractSession session)Vector<AbstractRecord>DatasourceAccessor. getTableInfo(String catalog, String schema, String tableName, String[] types, AbstractSession session)Return table information for the specified database objects.voidDatabaseAccessor. populateRow(DatabaseField[] fieldsArray, Object[] values, ResultSet resultSet, ResultSetMetaData metaData, AbstractSession session, int startIndex, int endIndex)protected PreparedStatementDynamicSQLBatchWritingMechanism. prepareBatchStatement(AbstractSession session)INTERNAL: This method is used to build the batch statement by concatenating the strings together.protected PreparedStatementParameterizedSQLBatchWritingMechanism. prepareBatchStatements(AbstractSession session)INTERNAL: This method is used to build the parameterized batch statement for the JDBC2.0 specificationprotected StatementDynamicSQLBatchWritingMechanism. prepareJDK12BatchStatement(AbstractSession session)INTERNAL: This method is used to build the batch statement for the JDBC2.0 specificationprotected voidDatasourceAccessor. reconnect(AbstractSession session)Attempt to save some of the cost associated with getting a fresh connection.voidAccessor. reestablishConnection(AbstractSession session)Reconnect to the database.voidDatasourceAccessor. reestablishConnection(AbstractSession session)PUBLIC: Reconnect to the database.voidAccessor. rollbackTransaction(AbstractSession session)Roll back a transaction on the data store.voidDatabaseAccessor. rollbackTransaction(AbstractSession session)Rollback a transaction on the database.voidDatasourceAccessor. rollbackTransaction(AbstractSession session)Rollback the transaction on the datasource. -
Uses of DatabaseException in org.eclipse.persistence.internal.descriptors
Methods in org.eclipse.persistence.internal.descriptors that throw DatabaseException Modifier and Type Method Description voidObjectBuilder. assignReturnRow(Object object, AbstractSession writeSession, AbstractRecord row, ObjectChangeSet changeSet)Assign the fields in the row back into the object.protected ObjectObjectBuilder. assignSequenceNumber(Object object, Object sequenceValue, AbstractSession writeSession, WriteObjectQuery writeQuery)INTERNAL: Update the object primary key by fetching a new sequence number from the accessor.ObjectObjectBuilder. assignSequenceNumber(Object object, AbstractSession writeSession)INTERNAL: Update the object primary key by fetching a new sequence number from the accessor.ObjectObjectBuilder. assignSequenceNumber(WriteObjectQuery writeQuery)INTERNAL: Update the writeQuery's object primary key by fetching a new sequence number from the accessor.ObjectObjectBuilder. assignSequenceNumber(WriteObjectQuery writeQuery, Object sequenceValue)INTERNAL: Update the writeQuery's object primary key by fetching a new sequence number from the accessor.voidObjectBuilder. 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 booleanObjectBuilder. 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.voidObjectBuilder. 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.voidObjectBuilder. 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 booleanObjectBuilder. 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 ObjectObjectBuilder. 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 ObjectObjectBuilder. 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.voidObjectBuilder. buildPrimaryKeyAttributesIntoObject(Object original, AbstractRecord databaseRow, ObjectBuildingQuery query, AbstractSession session)INTERNAL: Build just the primary key mappings into the object.protected ObjectObjectBuilder. 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 ObjectObjectBuilder. 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 ObjectObjectBuilder. 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.indirection
Methods in org.eclipse.persistence.internal.indirection that throw DatabaseException Modifier and Type Method Description protected TCacheBasedValueHolder. instantiate()protected TCacheBasedValueHolder. instantiate(AbstractSession localSession)protected abstract TDatabaseValueHolder. instantiate()Instantiate the object.protected TEISOneToManyQueryBasedValueHolder. instantiate(AbstractSession session)protected TProtectedValueHolder. instantiate()protected TQueryBasedValueHolder. instantiate()protected TQueryBasedValueHolder. instantiate(AbstractSession session)Instantiate the object by executing the query on the session. -
Uses of DatabaseException in org.eclipse.persistence.internal.oxm
Methods in org.eclipse.persistence.internal.oxm that throw DatabaseException Modifier and Type Method Description ObjectXMLAccessor. basicExecuteCall(Call call, AbstractRecord translationRow, AbstractSession session)voidXMLObjectBuilder. 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.ObjectXMLObjectBuilder. buildObject(ObjectBuildingQuery query, AbstractRecord databaseRow, JoinedAttributeManager joinManager)INTERNAL: Override the parent's buildObject to allow for the caching of aggregate objects in OX.protected voidXMLAccessor. 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
Methods in org.eclipse.persistence.internal.queries that throw DatabaseException Modifier and Type Method Description abstract DatabaseCallDatabaseQueryMechanism. cursorSelectAllRows()Read all rows from the database using a cursored stream.DatabaseCallDatasourceCallQueryMechanism. cursorSelectAllRows()Read all rows from the database using a cursored stream.abstract IntegerDatabaseQueryMechanism. deleteAll()IntegerDatasourceCallQueryMechanism. deleteAll()INTERNAL: Delete a collection of objects.IntegerDatasourceCallQueryMechanism. deleteAllUsingTempTables()Execute deleteAll using temp tablesabstract IntegerDatabaseQueryMechanism. deleteObject()Delete an object This should be overridden by subclasses.IntegerDatasourceCallQueryMechanism. deleteObject()INTERNAL: Delete an object.IntegerStatementQueryMechanism. deleteObject()INTERNAL: delete the objectabstract ObjectDatabaseQueryMechanism. execute()Execute a execute SQL call.ObjectDatasourceCallQueryMechanism. execute()INTERNAL: Execute a call.protected ObjectDatasourceCallQueryMechanism. executeCall()Execute the call.protected ObjectDatasourceCallQueryMechanism. executeCall(DatasourceCall databaseCall)Execute the call.abstract ObjectDatabaseQueryMechanism. executeNoSelect()Execute a non selecting SQL call This should be overridden by subclasses.ObjectDatasourceCallQueryMechanism. executeNoSelect()Execute a non selecting call.ObjectStatementQueryMechanism. executeNoSelect()Update the objectIntegerDatasourceCallQueryMechanism. executeNoSelectCall()Execute a non selecting call.abstract VectorDatabaseQueryMechanism. executeSelect()Execute a select SQL call and return the rows.VectorDatasourceCallQueryMechanism. executeSelect()INTERNAL: Execute a selecting call.VectorDatasourceCallQueryMechanism. executeSelectCall()INTERNAL: Execute a selecting call.ObjectDatabaseQueryMechanism. executeWrite()Check whether the object already exists on the database; then perform an insert or update, as appropriate.ObjectDatabaseQueryMechanism. executeWriteWithChangeSet()Check whether the object already exists on the cadatabase; then perform an insert or update, as appropriate.abstract DatabaseCallDatabaseQueryMechanism. generateKeysExecuteNoSelect()Execute a non selecting SQL call, that returns the generated keys This should be overridden by subclasses.DatabaseCallDatasourceCallQueryMechanism. generateKeysExecuteNoSelect()Execute a non selecting call.abstract voidDatabaseQueryMechanism. insertObject()Insert an object.voidDatasourceCallQueryMechanism. insertObject()Insert the object.voidStatementQueryMechanism. insertObject()Insert the objectabstract VectorDatabaseQueryMechanism. selectAllReportQueryRows()INTERNAL: Read all rows from the database.VectorDatasourceCallQueryMechanism. selectAllReportQueryRows()Read all rows from the database.VectorExpressionQueryMechanism. selectAllReportQueryRows()INTERNAL Read all rows from the database.abstract VectorDatabaseQueryMechanism. selectAllRows()Read and return rows from the database.VectorDatasourceCallQueryMechanism. selectAllRows()Read all rows from the database.VectorExpressionQueryMechanism. selectAllRows()Read all rows from the database.VectorExpressionQueryMechanism. selectAllRowsFromConcreteTable()Read all rows from the database.VectorExpressionQueryMechanism. selectAllRowsFromTable()Read all rows from the database.abstract AbstractRecordDatabaseQueryMechanism. selectOneRow()Read and return a row from the database.AbstractRecordDatasourceCallQueryMechanism. selectOneRow()Read a single row from the database.AbstractRecordExpressionQueryMechanism. selectOneRow()Read a single row from the database.AbstractRecordExpressionQueryMechanism. selectOneRowFromConcreteTable()Read a single row from the database.AbstractRecordExpressionQueryMechanism. selectOneRowFromTable()Read a single row from the database.DatabaseCallDatasourceCallQueryMechanism. selectResultSet()Read all rows from the database, return ResultSetabstract AbstractRecordDatabaseQueryMechanism. selectRowForDoesExist(DatabaseField field)Read and return a row from the database for an existence check.AbstractRecordDatasourceCallQueryMechanism. selectRowForDoesExist(DatabaseField field)Perform a does exist checkprotected voidDatabaseQueryMechanism. shallowInsertObjectForWrite(Object object, WriteObjectQuery writeQuery, CommitManager commitManager)Shallow insert the specified object, if necessary.abstract IntegerDatabaseQueryMechanism. updateAll()Issue update SQL statementIntegerDatasourceCallQueryMechanism. updateAll()Update the rows on the database.IntegerDatasourceCallQueryMechanism. updateAllUsingTempTables()Execute updateAll using temp tablesabstract IntegerDatabaseQueryMechanism. updateObject()Update an object.IntegerDatasourceCallQueryMechanism. updateObject()Update the object.IntegerStatementQueryMechanism. updateObject()Update the objectprotected voidDatabaseQueryMechanism. updateObjectAndRowWithSequenceNumber()Update the object's primary key by fetching a new sequence number from the accessor.protected voidDatabaseQueryMechanism. 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
Methods in org.eclipse.persistence.internal.sessions that return DatabaseException Modifier and Type Method Description DatabaseExceptionAbstractSession. retryTransaction(Accessor accessor, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A begin transaction failed.Methods in org.eclipse.persistence.internal.sessions with parameters of type DatabaseException Modifier and Type Method Description ObjectAbstractSession. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.ObjectDatabaseSessionImpl. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.ObjectUnitOfWorkImpl. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.DatabaseExceptionAbstractSession. retryTransaction(Accessor accessor, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A begin transaction failed.Methods in org.eclipse.persistence.internal.sessions that throw DatabaseException Modifier and Type Method Description voidUnitOfWorkImpl. assignSequenceNumber(Object object)ADVANCED: Assign sequence number to the object.ObjectUnitOfWorkImpl. assignSequenceNumber(Object object, ClassDescriptor descriptor)INTERNAL: Assign sequence number to the object.voidUnitOfWorkImpl. 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 voidUnitOfWorkImpl. assignSequenceNumbers(Map objects)INTERNAL: Assign sequence numbers to all of the objects.protected voidAbstractSession. basicBeginTransaction()INTERNAL: Called by beginTransaction() to start a transaction.protected voidAbstractSession. basicBeginTransaction(Accessor accessor)INTERNAL: Called by beginTransaction() to start a transaction.protected voidAbstractSession. basicCommitTransaction()INTERNAL: Called by commitTransaction() to commit a transaction.ObjectAbstractSession. basicExecuteCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Execute the call on each accessors and merge the results.protected voidAbstractSession. basicRollbackTransaction()INTERNAL: Called by rollbackTransaction() to rollback a transaction.voidUnitOfWorkImpl. beginEarlyTransaction()PUBLIC: Tell the unit of work to begin a transaction now.voidAbstractSession. beginTransaction()PUBLIC: Begin a transaction on the database.voidUnitOfWorkImpl. beginTransaction()INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.voidUnitOfWorkImpl. commit()PUBLIC: Commit the unit of work to its parent.voidCommitManager. commitAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)Commit all of the objects as a single transaction.voidUnitOfWorkImpl. commitAndResume()PUBLIC: Commit the unit of work to its parent.voidUnitOfWorkImpl. commitAndResumeOnFailure()PUBLIC: Commit the unit of work to its parent.voidUnitOfWorkImpl. 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 SerializationvoidRepeatableWriteUnitOfWork. commitRootUnitOfWork()INTERNAL: Commit the changes to any objects to the parent.voidUnitOfWorkImpl. commitRootUnitOfWork()INTERNAL: Commit the changes to any objects to the parent.voidUnitOfWorkImpl. 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 voidUnitOfWorkImpl. commitToDatabaseWithChangeSet(boolean commitTransaction)INTERNAL: Commit the changes to any objects to the parent.protected voidUnitOfWorkImpl. commitToDatabaseWithPreBuiltChangeSet(UnitOfWorkChangeSet uowChangeSet, boolean commitTransaction, boolean isChangeSetFromOutsideUOW)INTERNAL: Commit pre-built changeSet to the database changeSet to the database.voidAbstractSession. commitTransaction()PUBLIC: Commit the active database transaction.voidRepeatableWriteUnitOfWork. commitTransaction()INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.voidUnitOfWorkImpl. commitTransaction()INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.voidDatabaseSessionImpl. connect()INTERNAL: Connect the session only.voidAbstractSession. deleteAllObjects(Collection domainObjects)PUBLIC: delete all of the objects and all of their privately owned parts in the database.voidCommitManager. deleteAllObjects(List objects)delete all of the objects as a single transaction.ObjectAbstractSession. deleteObject(Object domainObject)PUBLIC: Delete the object and all of its privately owned parts from the database.voidDatabaseSessionImpl. disconnect()INTERNAL: Disconnect the accessor only.booleanAbstractSession. doesObjectExist(Object object)PUBLIC: Return if the object exists on the database or not.ObjectAbstractSession. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Overridden by subclasses that do more than just execute the call.ObjectUnitOfWorkImpl. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Override From session.intAbstractSession. executeNonSelectingCall(Call call)PUBLIC: Execute the call on the database.voidAbstractSession. executeNonSelectingSQL(String sqlString)PUBLIC: Execute the sql on the database.ObjectAbstractSession. executeQuery(String queryName)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Class<?> domainClass)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Class<?> domainClass, Object arg1)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Class<?> domainClass, Object arg1, Object arg2)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Class<?> domainClass, Object arg1, Object arg2, Object arg3)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Class<?> domainClass, List argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Class<?> domainClass, Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Object arg1)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Object arg1, Object arg2)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Object arg1, Object arg2, Object arg3)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, List argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(String queryName, Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.ObjectAbstractSession. executeQuery(DatabaseQuery query)PUBLIC: Execute the database query.ObjectAbstractSession. executeQuery(DatabaseQuery query, List argumentValues)PUBLIC: Return the results from executing the database query.ObjectAbstractSession. executeQuery(DatabaseQuery query, AbstractRecord row)INTERNAL: Return the results from executing the database query.ObjectAbstractSession. executeQuery(DatabaseQuery query, AbstractRecord row, int retryCount)INTERNAL: Return the results from executing the database query.VectorAbstractSession. executeSelectingCall(Call call)PUBLIC: Execute the call on the database and return the result.VectorAbstractSession. executeSQL(String sqlString)PUBLIC: Execute the sql on the database and return the result.protected voidDatabaseSessionImpl. finalize()INTERNAL: Logout in case still connected.protected voidSessionFinalizer. finalize()Release the session.ObjectAbstractSession. insertObject(Object domainObject)PUBLIC: Insert the object and all of its privately owned parts into the database.ObjectAbstractSession. internalExecuteQuery(DatabaseQuery query, AbstractRecord databaseRow)INTERNAL: Return the results from exeucting the database query.ObjectUnitOfWorkImpl. internalExecuteQuery(DatabaseQuery query, AbstractRecord databaseRow)INTERNAL: Return the results from executing the database query.voidDatabaseSessionImpl. login()PUBLIC: Connect to the database using the predefined login.voidDatabaseSessionImpl. login(String userName, String password)PUBLIC: Connect to the database using the given user name and password.voidDatabaseSessionImpl. login(Login login)PUBLIC: Connect to the database using the given login.voidDatabaseSessionImpl. loginAndDetectDatasource()PUBLIC: Connect to the database using the predefined login.voidDatabaseSessionImpl. logout()PUBLIC: Disconnect from the database.intAbstractSession. priviledgedExecuteNonSelectingCall(Call call)INTERNAL: Execute the call on the database.VectorAbstractSession. priviledgedExecuteSelectingCall(Call call)INTERNAL: Execute the call on the database and return the result.VectorAbstractSession. readAllObjects(Class<?> domainClass)PUBLIC: Read all of the instances of the class from the database.VectorAbstractSession. readAllObjects(Class<?> domainClass, String sqlString)PUBLIC: Read all of the instances of the class from the database return through execution the SQL string.VectorAbstractSession. readAllObjects(Class<?> domainClass, Expression expression)PUBLIC: Read all of the instances of the class from the database matching the given expression.VectorAbstractSession. readAllObjects(Class<?> referenceClass, Call aCall)PUBLIC: Read all the instances of the class from the database returned through execution the Call string.ObjectAbstractSession. readObject(Class<?> domainClass)PUBLIC: Read the first instance of the class from the database.ObjectAbstractSession. readObject(Class<?> domainClass, String sqlString)PUBLIC: Read the first instance of the class from the database return through execution the SQL string.ObjectAbstractSession. readObject(Class<?> domainClass, Expression expression)PUBLIC: Read the first instance of the class from the database matching the given expression.ObjectAbstractSession. readObject(Class<?> domainClass, Call aCall)PUBLIC: Read the first instance of the class from the database returned through execution the Call string.ObjectAbstractSession. readObject(Object object)PUBLIC: Use the example object to consruct a read object query by the objects primary key.ObjectAbstractSession. refreshAndLockObject(Object object)PUBLIC: Refresh the attributes of the object and of all of its private parts from the database.ObjectAbstractSession. refreshAndLockObject(Object object, short lockMode)PUBLIC: Refresh the attributes of the object and of all of its private parts from the database.ObjectAbstractSession. refreshObject(Object object)PUBLIC: Refresh the attributes of the object and of all of its private parts from the database.VectorUnitOfWorkImpl. registerAllObjects(Vector domainObjects)PUBLIC: Register the objects with the unit of work.voidAbstractSession. rollbackTransaction()PUBLIC: Rollback the active database transaction.voidRepeatableWriteUnitOfWork. rollbackTransaction()INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.protected voidRepeatableWriteUnitOfWork. rollbackTransaction(boolean intendedToCommitTransaction)INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.voidUnitOfWorkImpl. rollbackTransaction()INTERNAL: This is internal to the uow, transactions should not be used explicitly in a uow.protected voidUnitOfWorkImpl. rollbackTransaction(boolean intendedToCommitTransaction)INTERNAL: rollbackTransaction() with a twist for external transactions.voidDatabaseSessionImpl. setDatasourceAndInitialize()INTERNAL: Issue any pre connect and post connect without an actual connection to the database.ObjectAbstractSession. updateObject(Object domainObject)PUBLIC: Update the object and all of its privately owned parts in the database.voidDatabaseSessionImpl. writeAllObjects(Collection domainObjects)PUBLIC: Write all of the objects and all of their privately owned parts in the database.voidDatabaseSessionImpl. writeAllObjects(Vector domainObjects)PUBLIC: Write all of the objects and all of their privately owned parts in the database.protected voidAbstractSession. writeAllObjectsWithChangeSet(UnitOfWorkChangeSet uowChangeSet)INTERNAL: Write all of the objects and all of their privately owned parts in the database.ObjectAbstractSession. 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
Methods in org.eclipse.persistence.internal.sessions.remote that throw DatabaseException Modifier and Type Method Description booleanRemoteScrollableCursor. absolute(int rows)Moves the cursor to the given row number in the result setvoidRemoteScrollableCursor. afterLast()Moves the cursor to the end of the result set, just after the last row.voidRemoteScrollableCursor. beforeFirst()Moves the cursor to the front of the result set, just before the first rowvoidRemoteUnitOfWork. beginEarlyTransaction()PUBLIC: Tell the unit of work to begin a transaction now.voidRemoteCursoredStream. close()Close the wrapped cursored stream This should be performed whenever the user has finished with the stream.voidRemoteScrollableCursor. close()Close the wrapped cursored stream This should be performed whenever the user has finished with the stream.intRemoteScrollableCursor. currentIndex()Retrieves the current row index numberObjectRemoteUnitOfWork. executeQuery(String queryName)PUBLIC: Execute the pre-defined query by name and return the result.ObjectRemoteUnitOfWork. executeQuery(String queryName, Class<?> domainClass)PUBLIC: Execute the pre-defined query by name and return the result.ObjectRemoteUnitOfWork. executeQuery(String queryName, Class<?> domainClass, Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.ObjectRemoteUnitOfWork. executeQuery(String queryName, Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.booleanRemoteScrollableCursor. first()Moves the cursor to the first row in the result setObjectRemoteUnitOfWork. internalExecuteQuery(DatabaseQuery query, AbstractRecord Record)INTERNAL: Return the results from exeucting the database query.booleanRemoteScrollableCursor. isAfterLast()Indicates whether the cursor is after the last row in the result set.booleanRemoteScrollableCursor. isBeforeFirst()Indicates whether the cursor is before the first row in the result set.booleanRemoteScrollableCursor. isFirst()Indicates whether the cursor is on the first row of the result set.booleanRemoteScrollableCursor. isLast()Indicates whether the cursor is on the last row of the result set.booleanRemoteScrollableCursor. last()Moves the cursor to the last row in the result setbooleanRemoteScrollableCursor. relative(int rows)Moves the cursor a relative number of rows, either positive or negative.protected ObjectRemoteScrollableCursor. retrieveNextObject()INTERNAL: This method differs slightly from conventional read() operation on a Java stream.protected ObjectRemoteCursoredStream. retrieveNextPage()Read the next page of objects from the server.protected ObjectRemoteScrollableCursor. retrievePreviousObject()INTERNAL: CR#4139 Read the previous row from the result set. -
Uses of DatabaseException in org.eclipse.persistence.mappings
Methods in org.eclipse.persistence.mappings that throw DatabaseException Modifier and Type Method Description ObjectAggregateObjectMapping. 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 voidAggregateCollectionMapping. compareListsAndWrite(List previousList, List currentList, WriteObjectQuery query)INTERNAL: Old and new lists are compared and only the changes are written to the database.protected voidCollectionMapping. compareListsAndWrite(List previousList, List currentList, WriteObjectQuery query)INTERNAL: Old and new lists are compared and only the changes are written to the database.protected voidAggregateCollectionMapping. 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 voidAggregateCollectionMapping. 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 voidCollectionMapping. compareObjectsAndWrite(WriteObjectQuery query)INTERNAL: The memory objects are compared and only the changes are written to the database.protected voidAggregateCollectionMapping. deleteAll(DeleteObjectQuery query, AbstractSession session)To delete all the entries matching the selection criteria from the table stored in the referenced descriptorprotected voidOneToManyMapping. deleteAll(DeleteObjectQuery query, AbstractSession session)Delete all the reference objects with a single query.protected voidOneToManyMapping. deleteReferenceObjectsLeftOnDatabase(DeleteObjectQuery query)This method will make sure that all the records privately owned by this mapping are actually removed.VectorAggregateCollectionMapping. getReferenceObjectKeys(ObjectLevelModifyQuery query)INTERNAL: get reference object keysprotected voidObjectReferenceMapping. insert(WriteObjectQuery query)INTERNAL: Insert privately owned partsprotected voidManyToManyMapping. insertAddedObjectEntry(ObjectLevelModifyQuery query, Object objectAdded, Map extraData)INTERNAL: An object was added to the collection during an update, insert it.voidManyToManyMapping. insertIntoRelationTable(WriteObjectQuery query)INTERNAL: Insert into relation table.voidManyToManyMapping. insertTargetObjects(WriteObjectQuery query)INTERNAL: Write the target objects if the cascade policy requires them to be written first.protected voidAggregateCollectionMapping. 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 voidCollectionMapping. 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 voidManyToManyMapping. 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 voidOneToManyMapping. 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 voidAggregateCollectionMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidCollectionMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidManyToManyMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidOneToManyMapping. objectRemovedDuringUpdate(ObjectLevelModifyQuery query, Object objectDeleted, Map extraData)INTERNAL: An object was removed to the collection during an update, delete it if private.protected voidAggregateCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Object backupClone)protected voidAggregateCollectionMapping. 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 voidCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object)INTERNAL: An object is still in the collection, update it as it may have changed.protected voidCollectionMapping. objectUnchangedDuringUpdate(ObjectLevelModifyQuery query, Object object, Map backupclones, Object key)INTERNAL: An object is still in the collection, update it as it may have changed.voidDatabaseMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidDirectCollectionMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidDirectMapMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidManyToManyMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidOneToManyMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidOneToOneMapping. performDataModificationEvent(Object[] event, AbstractSession session)INTERNAL: Perform the commit event.voidAggregateMapping. postDelete(DeleteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidCollectionMapping. postDelete(DeleteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidDatabaseMapping. postDelete(DeleteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidObjectReferenceMapping. postDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidAggregateMapping. postDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidAggregateMapping. postInsert(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidCollectionMapping. postInsert(WriteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidDatabaseMapping. postInsert(WriteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidDirectCollectionMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert the private owned object.voidDirectMapMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert the private owned object.voidManyToManyMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert into relation table.voidObjectReferenceMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidOneToManyMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert the reference objects.voidOneToOneMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert into relation table.voidAggregateMapping. postInsertAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. postUpdate(WriteObjectQuery writeQuery)INTERNAL: Update the privately owned partsvoidAggregateMapping. postUpdate(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidDatabaseMapping. postUpdate(WriteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidDirectCollectionMapping. postUpdate(WriteObjectQuery writeQuery)INTERNAL: Update private owned part.voidManyToManyMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update the relation table with the entries related to this mapping.voidObjectReferenceMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsvoidOneToManyMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update the reference objects.voidOneToOneMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update the relation table with the entries related to this mapping.voidAggregateMapping. postUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.protected voidDirectCollectionMapping. postUpdateWithChangeSet(WriteObjectQuery writeQuery)INTERNAL: Update private owned part.protected voidDirectMapMapping. postUpdateWithChangeSet(WriteObjectQuery writeQuery)INTERNAL: Update private owned part.protected voidDirectCollectionMapping. postUpdateWithChangeSetListOrder(WriteObjectQuery writeQuery)INTERNAL: Update private owned part.voidAggregateCollectionMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidAggregateMapping. preDelete(DeleteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidDatabaseMapping. preDelete(DeleteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidDirectCollectionMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete private owned part.voidDirectMapMapping. preDelete(DeleteObjectQuery query)INTERNAL: Propagate the preDelete event through the container policy if necessaryvoidManyToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete entries related to this mapping from the relation table.voidObjectReferenceMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidOneToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidOneToOneMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidUnidirectionalOneToManyMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete the reference objects.voidAggregateMapping. preDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateCollectionMapping. preInsert(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidAggregateMapping. preInsert(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidCollectionMapping. preInsert(WriteObjectQuery query)INTERNAL: Propagate preInsert event to container policy if necessaryvoidDatabaseMapping. preInsert(WriteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidObjectReferenceMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidAggregateMapping. preInsertAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.voidAggregateMapping. preUpdate(WriteObjectQuery query)INTERNAL: The message is passed to its reference class descriptor.voidCollectionMapping. preUpdate(WriteObjectQuery query)INTERNAL: Propagate preUpdate event to container policy if necessaryvoidDatabaseMapping. preUpdate(WriteObjectQuery query)INTERNAL: A subclass should implement this method if it wants different behavior.voidObjectReferenceMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsvoidAggregateMapping. preUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)INTERNAL: The message is passed to its reference class descriptor.ObjectAggregateObjectMapping. 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.ObjectAggregateObjectMapping. 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.ObjectDatabaseMapping. 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.ObjectForeignReferenceMapping. 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 ObjectCollectionMapping. readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)INTERNAL: All the privately owned parts are readprotected ObjectObjectReferenceMapping. readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)INTERNAL: Reads the private owned object.protected ObjectOneToOneMapping. readPrivateOwnedForObject(ObjectLevelModifyQuery modifyQuery)INTERNAL: Reads the private owned object.protected voidObjectReferenceMapping. update(WriteObjectQuery query)INTERNAL: Update the private owned part.voidOneToManyMapping. updateTargetForeignKeyPostUpdateSource_ObjectAdded(ObjectLevelModifyQuery query, Object objectAdded, Map extraData)INTERNAL: Update target foreign key after a target object was added to the source.voidOneToManyMapping. updateTargetForeignKeyPostUpdateSource_ObjectRemoved(ObjectLevelModifyQuery query, Object objectRemoved)INTERNAL: Update target foreign key after a target object was removed from the source.voidOneToManyMapping. updateTargetRowPostInsertSource(WriteObjectQuery query)INTERNAL: Update target foreign keys after a new source was inserted.voidOneToManyMapping. updateTargetRowPreDeleteSource(ObjectLevelModifyQuery query)INTERNAL: Update target foreign key after a target object was removed from the source.ObjectDatabaseMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery query, boolean isTargetProtected)INTERNAL: A subclass should implement this method if it wants different behavior.ObjectDatabaseMapping. 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.ObjectDirectCollectionMapping. 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.ObjectForeignReferenceMapping. 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.ObjectVariableOneToOneMapping. 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 ObjectForeignReferenceMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession)INTERNAL: Return the value of the reference attribute or a value holder.protected ObjectForeignReferenceMapping. valueFromRowInternal(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean shouldUseSopObject)INTERNAL: Return the value of the reference attribute or a value holder.protected ObjectOneToOneMapping. 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 ObjectCollectionMapping. 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 ObjectDirectCollectionMapping. 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 ObjectDirectMapMapping. 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 ObjectForeignReferenceMapping. 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 ObjectOneToOneMapping. 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.booleanAggregateCollectionMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Checks if object is deleted from the database or not.booleanAggregateMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Return whether the specified object and all its components have been deleted.booleanCollectionMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Checks if object is deleted from the database or not.booleanDatabaseMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: To verify if the specified object has been deleted or not.booleanDirectCollectionMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Checks if object is deleted from the database or not.booleanObjectReferenceMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: To verify if the specified object is deleted or not.booleanOneToManyMapping. verifyDelete(Object object, AbstractSession session)INTERNAL: Used to verify whether the specified object is deleted or not.protected voidAggregateCollectionMapping. verifyDeleteForUpdate(DeleteObjectQuery query)Verifying deletes make sure that all the records privately owned by this mapping are actually removed.protected booleanAggregateMapping. verifyDeleteOfAttributeValue(Object attributeValue, AbstractSession session)INTERNAL: Return whether the specified object and all its components have been deleted.voidCollectionMapping. 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
Methods in org.eclipse.persistence.mappings.foundation that throw DatabaseException Modifier and Type Method Description voidAbstractCompositeCollectionMapping. postDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. postInsertAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. postUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. preDeleteAttributeValue(DeleteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. preInsertAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.voidAbstractCompositeCollectionMapping. preUpdateAttributeValue(WriteObjectQuery query, Object attributeValue)The message is passed to its reference class descriptor.ObjectAbstractTransformationMapping. 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.ObjectAbstractTransformationMapping. 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.ObjectAbstractCompositeCollectionMapping. 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.ObjectAbstractCompositeDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectAbstractCompositeObjectMapping. 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 booleanAbstractCompositeCollectionMapping. 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
Methods in org.eclipse.persistence.mappings.structures that throw DatabaseException Modifier and Type Method Description static ObjectObjectRelationalDataTypeDescriptor. buildArrayObjectFromArray(Object array)INTERNAL: Build array of objects for Array data type.static ObjectObjectRelationalDataTypeDescriptor. buildArrayObjectFromStruct(Object structure)INTERNAL: Build array of objects for Struct data type.static ObjectObjectRelationalDataTypeDescriptor. buildContainerFromArray(Array fieldValue, ObjectRelationalDatabaseField arrayField, AbstractSession session)INTERNAL: Build and return the nested rows from the specified field value.VectorObjectRelationalDataTypeDescriptor. buildDirectValuesFromFieldValue(Object fieldValue)INTERNAL: Extract the direct values from the specified field value.ObjectObjectRelationalDataTypeDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectObjectRelationalDataTypeDescriptor. buildFieldValueFromNestedRow(AbstractRecord nestedRow, AbstractSession session)INTERNAL: Build and return the field value from the specified nested database row.ObjectObjectRelationalDataTypeDescriptor. buildFieldValueFromNestedRows(Vector nestedRows, String structureName, AbstractSession session)INTERNAL: Build and return the appropriate field value for the specified set of nested rows.AbstractRecordObjectRelationalDataTypeDescriptor. buildNestedRowFromFieldValue(Object fieldValue)INTERNAL: Build and return the nested database row from the specified field value.VectorObjectRelationalDataTypeDescriptor. buildNestedRowsFromFieldValue(Object fieldValue, AbstractSession session)INTERNAL: Build and return the nested rows from the specified field value.AbstractRecordObjectRelationalDataTypeDescriptor. buildRowFromStructure(Struct structure)INTERNAL: Build a row representation from the ADT structure field array.StructObjectRelationalDataTypeDescriptor. buildStructureFromRow(AbstractRecord row, AbstractSession session, Connection connection)INTERNAL: Build a ADT structure from the row data.voidReferenceMapping. postDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidReferenceMapping. postInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidReferenceMapping. postUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsvoidNestedTableMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidReferenceMapping. preDelete(DeleteObjectQuery query)INTERNAL: Delete privately owned partsvoidNestedTableMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidReferenceMapping. preInsert(WriteObjectQuery query)INTERNAL: Insert privately owned partsvoidNestedTableMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update the privately owned partsvoidReferenceMapping. preUpdate(WriteObjectQuery query)INTERNAL: Update privately owned partsObjectReferenceMapping. 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 voidNestedTableMapping. 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.oxm
Methods in org.eclipse.persistence.oxm that throw DatabaseException Modifier and Type Method Description VectorXMLDescriptor. buildDirectValuesFromFieldValue(Object fieldValue)INTERNAL: Extract the direct values from the specified field value.ObjectXMLDescriptor. buildFieldValueFromDirectValues(Vector directValues, String elementDataTypeName, AbstractSession session)INTERNAL: Build the appropriate field value for the specified set of direct values.ObjectXMLDescriptor. 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
Methods in org.eclipse.persistence.oxm.mappings that throw DatabaseException Modifier and Type Method Description ObjectXMLChoiceObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLCollectionReferenceMapping. 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.ObjectXMLCollectionReferenceMapping. 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.ObjectXMLCompositeObjectMapping. readFromRowIntoObject(AbstractRecord databaseRow, JoinedAttributeManager joinManager, Object targetObject, CacheKey parentCacheKey, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLObjectReferenceMapping. 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.ObjectXMLTransformationMapping. 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.ObjectXMLAnyAttributeMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLAnyCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLAnyObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLChoiceCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLChoiceObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLCompositeCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLCompositeDirectCollectionMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)INTERNAL: Build the nested collection from the database row.ObjectXMLCompositeObjectMapping. valueFromRow(Object fieldValue, XMLRecord nestedRow, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, AbstractSession executionSession, boolean isTargetProtected)ObjectXMLCompositeObjectMapping. valueFromRow(AbstractRecord row, JoinedAttributeManager joinManager, ObjectBuildingQuery sourceQuery, CacheKey cacheKey, AbstractSession executionSession, boolean isTargetProtected, Boolean[] wasCacheUsed)ObjectXMLFragmentCollectionMapping. 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
Methods in org.eclipse.persistence.platform.database with parameters of type DatabaseException Modifier and Type Method Description booleanOraclePlatform. 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.queries
Methods in org.eclipse.persistence.queries that throw DatabaseException Modifier and Type Method Description booleanScrollableCursor. absolute(int rows)PUBLIC: Moves the cursor to the given row number in the result setvoidScrollableCursor. afterLast()PUBLIC: Moves the cursor to the end of the result set, just after the last row.booleanCursoredStream. atEnd()PUBLIC: Return whether the cursored stream is at its end.intCursoredStream. available()PUBLIC: Returns the number of objects that can be read from this input without blocking.voidScrollableCursor. beforeFirst()PUBLIC: Moves the cursor to the front of the result set, just before the first rowvoidCursor. close()PUBLIC: Closes the stream.intScrollableCursor. currentIndex()PUBLIC: Retrieves the current row index numberObjectDatabaseQuery. execute(AbstractSession session, AbstractRecord translationRow)INTERNAL: Execute the query.ObjectDataReadQuery. execute(AbstractSession session, AbstractRecord row)INTERNAL: Execute the query.ObjectObjectLevelReadQuery. execute(AbstractSession session, AbstractRecord translationRow)INTERNAL: Execute the query.ObjectReadAllQuery. execute(AbstractSession session, AbstractRecord row)INTERNAL: Execute the query.ObjectReadObjectQuery. execute(AbstractSession session, AbstractRecord row)INTERNAL: Execute the query.voidInsertObjectQuery. executeCommit()INTERNAL: Perform an insert.voidUpdateObjectQuery. executeCommit()INTERNAL: Perform an update.voidWriteObjectQuery. executeCommit()INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.voidInsertObjectQuery. executeCommitWithChangeSet()INTERNAL: Perform an insert.voidUpdateObjectQuery. executeCommitWithChangeSet()INTERNAL: Perform an update.voidWriteObjectQuery. executeCommitWithChangeSet()INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.abstract ObjectDatabaseQuery. executeDatabaseQuery()INTERNAL: Execute the queryObjectDataModifyQuery. executeDatabaseQuery()INTERNAL: Perform the work to execute the SQL call.ObjectDataReadQuery. executeDatabaseQuery()INTERNAL: Execute the query.ObjectDeleteAllQuery. executeDatabaseQuery()INTERNAL: Perform the work to delete a collection of objects.ObjectDeleteObjectQuery. executeDatabaseQuery()INTERNAL: Perform the work to delete an object.ObjectDoesExistQuery. executeDatabaseQuery()INTERNAL: Return if the object exists on the database.ObjectObjectLevelReadQuery. executeDatabaseQuery()INTERNAL: Executes the prepared query on the datastore.ObjectReportQuery. executeDatabaseQuery()INTERNAL: Execute the query.ObjectResultSetMappingQuery. executeDatabaseQuery()INTERNAL: Executes the prepared query on the datastore.ObjectUpdateAllQuery. executeDatabaseQuery()INTERNAL: Issue the SQL to the database and then merge into the cache.ObjectWriteObjectQuery. executeDatabaseQuery()INTERNAL: Perform a does exist check to decide whether to perform an insert or update and delegate the work to the mechanism.voidDeleteAllQuery. executeDeleteAll(AbstractSession session, AbstractRecord translationRow, Vector objects)INTERNAL: Delete all queries are executed specially to avoid cloning and ensure preparing.ObjectDatabaseQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Override query execution where Session is a UnitOfWork.ObjectDeleteAllQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: This method has to be broken.ObjectModifyAllQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Override query execution where Session is a UnitOfWork.ObjectObjectLevelModifyQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: All have done is move code from UnitOfWork.internalExecuteQueryObjectObjectLevelReadQuery. executeInUnitOfWork(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Execute the query in the unit of work.protected ObjectDeleteObjectQuery. executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: Code was moved from UnitOfWork.internalExecuteQueryprotected ObjectObjectLevelModifyQuery. executeInUnitOfWorkObjectLevelModifyQuery(UnitOfWorkImpl unitOfWork, AbstractRecord translationRow)INTERNAL: This code was moved from UnitOfWork.internalExecuteQuery.protected ObjectDataReadQuery. executeNonCursor()INTERNAL: The results are *not* in a cursor, build the collection.protected abstract ObjectObjectLevelReadQuery. executeObjectLevelReadQuery()Executes the prepared query on the datastore.protected ObjectReadAllQuery. executeObjectLevelReadQuery()INTERNAL: Execute the query.protected ObjectReadObjectQuery. executeObjectLevelReadQuery()INTERNAL: Execute the query.protected abstract ObjectObjectLevelReadQuery. executeObjectLevelReadQueryFromResultSet()Executes the prepared query on the datastore.protected ObjectReadAllQuery. executeObjectLevelReadQueryFromResultSet()INTERNAL: Execute the query building the objects directly from the database result-set.protected ObjectReadObjectQuery. executeObjectLevelReadQueryFromResultSet()INTERNAL: Execute the query building the objects directly from the database result-set.protected voidCursor. finalize()Close in case not closed.booleanScrollableCursor. first()PUBLIC: Moves the cursor to the first row in the result setprotected abstract intCursor. getCursorSize()INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.protected intCursoredStream. getCursorSize()INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.protected intScrollableCursor. getCursorSize()INTERNAL: Retrieve the size of the open cursor by executing a count on the same query as the cursor.intScrollableCursor. getPosition()PUBLIC: Retrieves the current cursor position (current row).booleanScrollableCursor. hasMoreElements()PUBLIC: Indicates whether the cursor can move to the the next rowbooleanScrollableCursor. hasNext()PUBLIC: Indicates whether the cursor can move to the the next rowbooleanScrollableCursor. hasNextElement()PUBLIC: Indicates whether the cursor can move to the the next rowbooleanScrollableCursor. hasPrevious()PUBLIC: Indicates whether the cursor can move to the the previous rowbooleanScrollableCursor. isAfterLast()PUBLIC: Indicates whether the cursor is after the last row in the result set.booleanScrollableCursor. isBeforeFirst()PUBLIC: Indicates whether the cursor is before the first row in the result set.booleanScrollableCursor. isFirst()PUBLIC: Indicates whether the cursor is on the first row of the result set.booleanScrollableCursor. isLast()PUBLIC: Indicates whether the cursor is on the last row of the result set.booleanScrollableCursor. last()PUBLIC: Moves the cursor to the last row in the result setObjectScrollableCursor. next()PUBLIC: This method differs slightly from conventional read() operation on a Java stream.List<Object>ScrollableCursor. next(int number)PUBLIC: This method differs slightly from conventional read() operation on a Java stream.ObjectScrollableCursor. nextElement()PUBLIC: Return the next object from the collection, if beyond the read limit read from the cursor.intScrollableCursor. nextIndex()PUBLIC: Retrieves the next row index (against the current row)ObjectCursoredStream. peek()PUBLIC: Return the next object in the stream, without incrementing the stream's position.ObjectScrollableCursor. previous()PUBLIC: Return the previous object from the collection.intScrollableCursor. previousIndex()PUBLIC: Retrieves the previous row index (against the current row)ObjectCursoredStream. read()PUBLIC: This method differs slightly from conventional read() operation on a Java stream.List<Object>CursoredStream. read(int number)PUBLIC: This method differs slightly from conventional read() operation on a Java stream.booleanScrollableCursor. relative(int rows)PUBLIC: Moves the cursor a relative number of rows, either positive or negative.ObjectReadQuery. remoteExecute(AbstractSession session)INTERNAL: Return if this is a read query.protected abstract ObjectCursor. retrieveNextObject()INTERNAL: Read the next row from the result set.protected ObjectCursoredStream. retrieveNextObject()protected ObjectScrollableCursor. retrieveNextObject()INTERNAL: Read the next row from the result set.protected ObjectCursoredStream. retrieveNextPage()INTERNAL: Retrieve and add the next page size of rows to the vector.protected ObjectScrollableCursor. retrievePreviousObject()INTERNAL: CR#4139 Read the previous row from the result set.intCursor. 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
Methods in org.eclipse.persistence.sessions that throw DatabaseException Modifier and Type Method Description voidUnitOfWork. assignSequenceNumber(Object object)ADVANCED: Assign sequence number to the object.voidUnitOfWork. assignSequenceNumbers()ADVANCED: Assign sequence numbers to all new objects registered in this unit of work, or any new objects reference by any objects registered.voidUnitOfWork. beginEarlyTransaction()PUBLIC: Tell the unit of work to begin a transaction now.voidDatabaseSession. beginTransaction()PUBLIC: Begin a transaction on the database.voidUnitOfWork. commit()PUBLIC: Commit the unit of work to its parent.voidUnitOfWork. commitAndResume()PUBLIC: Commit the unit of work to its parent.voidUnitOfWork. commitAndResumeOnFailure()PUBLIC: Commit the unit of work to its parent.voidDatabaseSession. commitTransaction()PUBLIC: Commit the active database transaction.ConnectionDefaultConnector. connect(Properties properties, Session session)INTERNAL: Connect with the specified properties and session.ConnectionJNDIConnector. connect(Properties properties, Session session)INTERNAL: Connect with the specified properties and return the Connection.ObjectDatasourceLogin. connectToDatasource(Accessor accessor, Session session)INTERNAL: Connect to the datasource, and return the driver level connection object.ObjectLogin. connectToDatasource(Accessor accessor, Session session)INTERNAL: Connect to the datasource, and return the driver level connection object.ObjectDatabaseSession. deleteObject(Object domainObject)PUBLIC: Delete the object and all of its privately owned parts from the database.protected ConnectionDefaultConnector. directConnect(Properties properties)INTERNAL: Connect directly - without using DriverManager.booleanSession. doesObjectExist(Object object)PUBLIC: Return if the object exists on the database or not.ObjectDatabaseSession. insertObject(Object domainObject)PUBLIC: Insert the object and all of its privately owned parts into the database.protected voidDefaultConnector. instantiateDriver()INTERNAL: Instantiate the Driver.protected voidDefaultConnector. loadDriverClass(Session session)INTERNAL: Ensure that the driver has been loaded and registered with the DriverManager.voidDatabaseSession. login()PUBLIC: Connect to the database using the predefined login.voidDatabaseSession. login(String userName, String password)PUBLIC: Connect to the database using the given user name and password.voidDatabaseSession. login(Login login)PUBLIC: Connect to the database using the given login.voidDatabaseSession. logout()PUBLIC: Disconnect from the database.VectorSession. readAllObjects(Class<?> domainClass)PUBLIC: Read all of the instances of the class from the database.VectorSession. readAllObjects(Class<?> domainClass, Expression selectionCriteria)PUBLIC: Read all of the instances of the class from the database matching the given expression.VectorSession. readAllObjects(Class<?> domainClass, Call aCall)PUBLIC: Read all the instances of the class from the database returned through execution the Call string.ObjectSession. readObject(Class<?> domainClass)PUBLIC: Read the first instance of the class from the database.ObjectSession. readObject(Class<?> domainClass, Expression selectionCriteria)PUBLIC: Read the first instance of the class from the database matching the given expression.ObjectSession. readObject(Class<?> domainClass, Call aCall)PUBLIC: Read the first instance of the class from the database returned through execution the Call string.ObjectSession. readObject(Object object)PUBLIC: Use the example object to construct a read object query by the objects primary key.voidExternalTransactionController. registerSynchronizationListener(UnitOfWorkImpl uow, AbstractSession session)INTERNAL: Register a listener on the unit of work.voidDatabaseSession. rollbackTransaction()PUBLIC: Rollback the active database transaction.ObjectDatabaseSession. updateObject(Object domainObject)PUBLIC: Update the object and all of its privately owned parts in the database.ObjectDatabaseSession. 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
Methods in org.eclipse.persistence.sessions.broker with parameters of type DatabaseException Modifier and Type Method Description ObjectSessionBroker. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.Methods in org.eclipse.persistence.sessions.broker that throw DatabaseException Modifier and Type Method Description protected voidSessionBroker. basicBeginTransaction()INTERNAL: Begin the transaction on all child sessions.protected voidSessionBroker. basicCommitTransaction()INTERNAL: Commit the transaction on all child sessions.protected voidSessionBroker. basicRollbackTransaction()INTERNAL: Rollback the transaction on all child sessions.ObjectSessionBroker. internalExecuteQuery(DatabaseQuery query, AbstractRecord row)INTERNAL: Return the results from exeucting the database query.voidSessionBroker. login()PUBLIC: Connect to the database using the predefined login.voidSessionBroker. login(String userName, String password)PUBLIC: Connect to the database using the predefined login.voidSessionBroker. loginAndDetectDatasource()PUBLIC: Connect to the database using the predefined login.voidSessionBroker. logout()PUBLIC: Disconnect from all databases. -
Uses of DatabaseException in org.eclipse.persistence.sessions.remote
Methods in org.eclipse.persistence.sessions.remote that throw DatabaseException Modifier and Type Method Description voidDistributedSession. connect()INTERNAL: Connect not required.voidDistributedSession. disconnect()INTERNAL: Disconnect not required.ObjectDistributedSession. executeQuery(String queryName)PUBLIC: Execute the pre-defined query by name and return the result.ObjectDistributedSession. executeQuery(String queryName, Class<?> domainClass)PUBLIC: Execute the pre-defined query by name and return the result.ObjectDistributedSession. executeQuery(String queryName, Class<?> domainClass, Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.ObjectDistributedSession. executeQuery(String queryName, Vector argumentValues)PUBLIC: Execute the pre-defined query by name and return the result.voidDistributedSession. login()PUBLIC: Connect to the database using the predefined login.voidDistributedSession. loginAndDetectDatasource()PUBLIC: Connect to the database using the predefined login. -
Uses of DatabaseException in org.eclipse.persistence.sessions.server
Methods in org.eclipse.persistence.sessions.server that return DatabaseException Modifier and Type Method Description DatabaseExceptionClientSession. retryTransaction(Accessor writeConnection, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A begin transaction failed.Methods in org.eclipse.persistence.sessions.server with parameters of type DatabaseException Modifier and Type Method Description ObjectClientSession. retryQuery(DatabaseQuery query, AbstractRecord row, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A query execution failed due to an invalid query.DatabaseExceptionClientSession. retryTransaction(Accessor writeConnection, DatabaseException databaseException, int retryCount, AbstractSession executionSession)INTERNAL: A begin transaction failed.Methods in org.eclipse.persistence.sessions.server that throw DatabaseException Modifier and Type Method Description voidServerSession. acquireClientConnection(ClientSession clientSession)INTERNAL: Allocate the client's connection resource.ClientSessionServer. acquireClientSession()PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession()PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(String poolName)PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(String poolName, Map properties)PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(Map properties)PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(Login login)PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(Login login, Map properties)PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(ConnectionPolicy connectionPolicy)PUBLIC: Return a client session for this server session.ClientSessionServerSession. acquireClientSession(ConnectionPolicy connectionPolicy, Map properties)PUBLIC: Return a client session for this server session.voidClientSession. connect(Accessor accessor)INTERNAL: Connect the session only (this must be the write connection as the read is shared).voidClientSession. disconnect(Accessor accessor)INTERNAL: Disconnect the accessor only (this must be the write connection as the read is shared).voidServerSession. disconnect()INTERNAL: Disconnect the accessor only.ObjectClientSession. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Execute the call on the correct connection accessor.ObjectServerSession. executeCall(Call call, AbstractRecord translationRow, DatabaseQuery query)INTERNAL: Execute the call on the correct connection accessor.ObjectServerSession. executeQuery(DatabaseQuery query, List argumentValues)PUBLIC: Return the results from executing the database query.voidClientSession. release()INTERNAL: Was PUBLIC: customer will be redirected toSession.voidServerSession. releaseClientSession(ClientSession clientSession)INTERNAL: Release the clients connection resource.voidConnectionPool. releaseConnection(Accessor connection)INTERNAL: Add the connection as single that a new connection is available.voidExternalConnectionPool. releaseConnection(Accessor connection)INTERNAL: When you release an external connection, you simply let it go.voidReadConnectionPool. releaseConnection(Accessor connection)INTERNAL: Because connections are not exclusive nothing is required.voidServerSession. releaseInvalidClientSession(ClientSession clientSession)INTERNAL: Release any invalid connection in the client session. -
Uses of DatabaseException in org.eclipse.persistence.tools.schemaframework
Methods in org.eclipse.persistence.tools.schemaframework that throw DatabaseException Modifier and Type Method Description abstract booleanSequenceDefinition. checkIfExist(AbstractSession session)INTERAL: Verify whether the sequence exists.booleanSequenceObjectDefinition. checkIfExist(AbstractSession session)INTERNAL: Check if the sequence object already exists, in which case dont create it.booleanTableSequenceDefinition. checkIfExist(AbstractSession session)INTERAL: Execute the SQL required to insert the sequence row into the sequence table.booleanUnaryTableSequenceDefinition. checkIfExist(AbstractSession session)INTERAL: Verify whether the sequence exists.TableCreatorDefaultTableGenerator. 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.Vector<AbstractRecord>SchemaManager. getAllColumnNames(String tableName)Get a description of table columns available in a catalog.Vector<AbstractRecord>SchemaManager. getAllColumnNames(String creatorName, String tableName)Get a description of table columns available in a catalog.Vector<AbstractRecord>SchemaManager. getAllTableNames()Get a description of tables available in a catalog.Vector<AbstractRecord>SchemaManager. getAllTableNames(String creatorName)Get a description of table columns available in a catalog.Vector<AbstractRecord>SchemaManager. getColumnInfo(String tableName, String columnName)Vector<AbstractRecord>SchemaManager. getColumnInfo(String catalog, String schema, String tableName, String columnName)Get a description of table columns available in a catalog.Vector<AbstractRecord>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
Methods in org.eclipse.persistence.transaction that throw DatabaseException Modifier and Type Method Description voidAbstractTransactionController. registerSynchronizationListener(UnitOfWorkImpl uow, AbstractSession session)INTERNAL: Associate the given unit of work and EclipseLink session with the current external transaction.
-