|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||
| Packages that use PersistenceBrokerException | |
|---|---|
| org.apache.ojb.broker | |
| org.apache.ojb.broker.accesslayer | |
| org.apache.ojb.broker.accesslayer.conversions | This package contains classes related to type and value conversions between attributes of persistent classes and their mapped columns in the relational database. |
| org.apache.ojb.broker.accesslayer.sql | This package contains the OJB SQL generator classes. |
| org.apache.ojb.broker.core | |
| org.apache.ojb.broker.core.proxy | |
| org.apache.ojb.broker.metadata | |
| org.apache.ojb.broker.util | |
| org.apache.ojb.broker.util.collections | This package contains utility classes that implement the ManageableCollection interface. |
| org.apache.ojb.broker.util.configuration | This package contains classes that provide the OJB configuration API. |
| org.apache.ojb.broker.util.sequence | This package contains classes that provide the OJB sequence numering. |
| org.apache.ojb.odmg | |
| org.apache.ojb.odmg.collections | |
| org.apache.ojb.odmg.states | |
| Uses of PersistenceBrokerException in org.apache.ojb.broker |
|---|
| Subclasses of PersistenceBrokerException in org.apache.ojb.broker | |
|---|---|
class |
KeyConstraintViolatedException
Exception indicate an SQL key contraint violation. |
class |
OptimisticLockException
Exception that is thrown if a violation of an optimistic lock was detected. |
class |
PersistenceBrokerSQLException
Encapsulates a SQL exception thrown during a broker action. |
class |
TransactionAbortedException
Is created when a transaction was aborted. |
class |
TransactionInProgressException
Is called when an action was tried while there was already a transaction in progress. |
class |
TransactionNotInProgressException
Is created when an action was tried that requires a transaction, and there was no transaction in progress. |
| Methods in org.apache.ojb.broker that throw PersistenceBrokerException | |
|---|---|
void |
PersistenceBroker.addListener(PBListener listener)
Adds a temporary PBListener to this broker. |
void |
PersistenceBroker.addListener(PBListener listener,
boolean permanent)
Adds a temporary or permanent PBListener to this broker,
depending on the parameter value. |
void |
PersistenceBroker.addMtoNImplementor(MtoNImplementor m2nImpl)
Stores the given m:n implementor int the underlying persistence system. |
void |
PBLifeCycleListener.afterDelete(PBLifeCycleEvent event)
Called after an object has been deleted by a persistence broker. |
void |
PersistenceBrokerAware.afterDelete(PersistenceBroker broker)
Is called as the last operation after an object was deleted in the underlying persistence system. |
void |
PBLifeCycleListener.afterInsert(PBLifeCycleEvent event)
Called after an object instance has been stored by a persistence broker. |
void |
PersistenceBrokerAware.afterInsert(PersistenceBroker broker)
Is called as the last operation after an object was inserted into the underlying persistence system. |
void |
PBLifeCycleListener.afterLookup(PBLifeCycleEvent event)
Called after an object has been looked up by a persistence broker. |
void |
PersistenceBrokerAware.afterLookup(PersistenceBroker broker)
Is called as the last operation after an object was retrieved from the underlying persistence system via a call to the getObjectByXXX() or
getCollectionByXXX()/getIteratorByXXX() methods in
PersistenceBroker. |
void |
ManageableCollection.afterStore(PersistenceBroker broker)
A callback method to implement 'removal-aware' (track removed objects and delete them by its own) collection implementations. |
void |
PBLifeCycleListener.afterUpdate(PBLifeCycleEvent event)
Called after an object has been stored by a persistence broker. |
void |
PersistenceBrokerAware.afterUpdate(PersistenceBroker broker)
Is called as the last operation after an object was updated in the underlying persistence system. |
void |
PBLifeCycleListener.beforeDelete(PBLifeCycleEvent event)
Called before an object will be deleted by a persistence broker. |
void |
PersistenceBrokerAware.beforeDelete(PersistenceBroker broker)
Is called as the first operation before an object is deleted in the underlying persistence system. |
void |
PBLifeCycleListener.beforeInsert(PBLifeCycleEvent event)
Called before an object will be stored by a persistence broker. |
void |
PersistenceBrokerAware.beforeInsert(PersistenceBroker broker)
Is called as the first operation before an object is inserted into the underlying persistence system. |
void |
PBLifeCycleListener.beforeUpdate(PBLifeCycleEvent event)
Called before an object will be updated by a persistence broker. |
void |
PersistenceBrokerAware.beforeUpdate(PersistenceBroker broker)
Is called as the first operation before an object is updated in the underlying persistence system. |
void |
PersistenceBroker.clearCache()
Clears the broker's internal cache. |
void |
PersistenceBroker.delete(Object obj)
Deletes the given object's persistent representation in the underlying persistence system. |
void |
PersistenceBrokerInternal.delete(Object obj,
boolean ignoreReferences)
Deletes the persistence representation of the given object in the underlying persistence system. |
void |
PersistenceBroker.deleteByQuery(Query query)
Deletes all objects matching the given query, from the underlying persistence system. |
void |
PersistenceBroker.deleteMtoNImplementor(MtoNImplementor m2nImpl)
Deletes an m:n implementor which defines the relationship between two persistent objects. |
static Identity |
Identity.fromByteArray(byte[] anArray)
Deprecated. |
ClassDescriptor |
PersistenceBroker.getClassDescriptor(Class clazz)
Returns the class descriptor for the given persistence capable class. |
ManageableCollection |
PersistenceBroker.getCollectionByQuery(Class collectionClass,
Query query)
Retrieves the persistent objects matching the given query. |
Collection |
PersistenceBroker.getCollectionByQuery(Query query)
Retrieves the persistent objects matching the given query. |
int |
PersistenceBroker.getCount(Query query)
Returns the number of elements that the given query will return. |
Iterator |
PersistenceBroker.getIteratorByQuery(Query query)
Retrieves the persistent objects matching the given query and returns them as an iterator which may, depending on the configured collection type, be reloading the objects from the database upon calling Iterator.next(). |
Object |
PersistenceBroker.getObjectByIdentity(Identity id)
Retrieve a persistent object from the underlying datastore by its identity. |
Object |
PersistenceBroker.getObjectByQuery(Query query)
Retrieve the (first) persistent object from the underlying datastore that matches the given query. |
Enumeration |
PersistenceBroker.getPKEnumerationByQuery(Class pkClass,
Query query)
Returns an enumeration of objects representing the primary keys for the objects that match the given query. |
Iterator |
PersistenceBroker.getReportQueryIteratorByQuery(Query query)
Retrieves the rows (as Object[] instances) matching the given query and
returns them as an iterator which may, depending on the configured collection type, be reloading
the objects from the database upon calling Iterator.next(). |
Class |
PersistenceBroker.getTopLevelClass(Class clazz)
Returns the top level class (most abstract class in terms of extents) from which the given class extends. |
boolean |
PersistenceBroker.isInTransaction()
Determines whether there is currently a transaction in progress. |
void |
PersistenceBroker.removeAllListeners()
Removes all temporary listeners from this broker. |
void |
PersistenceBroker.removeAllListeners(boolean permanent)
Removes all temporary and, if desired, permanent listeners from this broker. |
void |
PersistenceBroker.removeFromCache(Object objectOrIdentity)
Removes the given object or, if it is an instance of Identity,
the object identified by it, from the broker's internal cache. |
void |
PersistenceBroker.removeListener(PBListener listener)
Removes the specified listener from this broker. |
void |
PersistenceBroker.retrieveAllReferences(Object obj)
Retrieve all references and collections of the given object irrespective of the metadata settings defined for them. |
void |
PersistenceBroker.retrieveReference(Object obj,
String attrName)
Retrieve the specified reference or collection attribute for the given persistent object. |
byte[] |
Identity.serialize()
Deprecated. |
void |
PersistenceBroker.store(Object obj)
Make the given object persistent in the underlying persistence system. |
void |
PersistenceBroker.store(Object obj,
ObjectModification modification)
Makes the given object persistent in the underlying persistence system. |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.accesslayer |
|---|
| Methods in org.apache.ojb.broker.accesslayer that throw PersistenceBrokerException | |
|---|---|
boolean |
ChainingIterator.absolute(int row)
the absolute and relative calls are the trickiest parts. |
boolean |
PagingIterator.absolute(int row)
|
boolean |
OJBIterator.absolute(int row)
Moves the cursor to the given row number in the iterator. |
boolean |
RsIterator.absolute(int row)
Moves the cursor to the given row number in the iterator. |
protected int |
RsIterator.countedSize()
Answer the counted size |
void |
JdbcAccess.executeDelete(ClassDescriptor cld,
Object obj)
performs a DELETE operation against RDBMS. |
void |
JdbcAccessImpl.executeDelete(ClassDescriptor cld,
Object obj)
performs a DELETE operation against RDBMS. |
void |
JdbcAccess.executeDelete(Query query,
ClassDescriptor cld)
performs a DELETE operation based on the given Query against RDBMS. |
void |
JdbcAccessImpl.executeDelete(Query query,
ClassDescriptor cld)
Performs a DELETE operation based on the given Query against RDBMS. |
void |
JdbcAccess.executeInsert(ClassDescriptor cld,
Object obj)
performs an INSERT operation against RDBMS. |
void |
JdbcAccessImpl.executeInsert(ClassDescriptor cld,
Object obj)
performs an INSERT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccess.executeQuery(Query query,
ClassDescriptor cld)
performs a SELECT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeQuery(Query query,
ClassDescriptor cld)
performs a SELECT operation against RDBMS. |
ResultSetAndStatement |
JdbcAccess.executeSQL(String sqlStatement,
ClassDescriptor cld,
boolean scrollable)
performs a SQL SELECT statement against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeSQL(String sqlStatement,
ClassDescriptor cld,
boolean scrollable)
|
ResultSetAndStatement |
JdbcAccess.executeSQL(String sqlStatement,
ClassDescriptor cld,
ValueContainer[] values,
boolean scrollable)
performs a SQL SELECT statement against RDBMS. |
ResultSetAndStatement |
JdbcAccessImpl.executeSQL(String sql,
ClassDescriptor cld,
ValueContainer[] values,
boolean scrollable)
performs a SQL SELECT statement against RDBMS. |
void |
JdbcAccess.executeUpdate(ClassDescriptor cld,
Object obj)
performs an UPDATE operation against RDBMS. |
void |
JdbcAccessImpl.executeUpdate(ClassDescriptor cld,
Object obj)
performs an UPDATE operation against RDBMS. |
int |
JdbcAccess.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld)
performs a SQL UPDTE, INSERT or DELETE statement against RDBMS. |
int |
JdbcAccessImpl.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld)
|
int |
JdbcAccess.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld,
ValueContainer[] values1,
ValueContainer[] values2)
performs a SQL UPDTE, INSERT or DELETE statement against RDBMS. |
int |
JdbcAccessImpl.executeUpdateSQL(String sqlStatement,
ClassDescriptor cld,
ValueContainer[] values1,
ValueContainer[] values2)
performs a SQL UPDTE, INSERT or DELETE statement against RDBMS. |
int |
ChainingIterator.fullSize()
|
int |
PagingIterator.fullSize()
|
int |
OJBIterator.fullSize()
|
int |
RsIterator.fullSize()
|
protected ValueContainer[] |
StatementManager.getAllValues(ClassDescriptor cld,
Object obj)
returns an array containing values for all the Objects attribute |
PreparedStatement |
StatementManager.getDeleteStatement(ClassDescriptor cld)
return a prepared DELETE Statement fitting for the given ClassDescriptor |
Statement |
StatementManager.getGenericStatement(ClassDescriptor cds,
boolean scrollable)
return a generic Statement for the given ClassDescriptor. |
Statement |
StatementManagerIF.getGenericStatement(ClassDescriptor cds,
boolean scrollable)
return a generic Statement for the given ClassDescriptor |
protected Identity |
RsIterator.getIdentityFromResultSet()
returns an Identity object representing the current resultset row |
PreparedStatement |
StatementManager.getInsertStatement(ClassDescriptor cds)
return a prepared Insert Statement fitting for the given ClassDescriptor |
protected ValueContainer[] |
StatementManager.getKeyValues(PersistenceBroker broker,
ClassDescriptor cld,
Identity oid)
returns an Array with an Identities PK VALUES |
protected ValueContainer[] |
StatementManager.getKeyValues(PersistenceBroker broker,
ClassDescriptor cld,
Object obj)
returns an Array with an Objects PK VALUES |
protected ValueContainer[] |
StatementManager.getNonKeyValues(PersistenceBroker broker,
ClassDescriptor cld,
Object obj)
returns an Array with an Objects NON-PK VALUES |
protected Object |
ReportQueryRsIterator.getObjectFromResultSet()
returns an Object[] representing the columns of the current ResultSet row. |
protected Object |
SqlBasedRsIterator.getObjectFromResultSet()
returns a proxy or a fully materialized Object from the current row of the underlying resultset. |
protected Object |
SqlBasedReportQueryRsIterator.getObjectFromResultSet()
returns an Object[] representing the columns of the current ResultSet row. |
protected Object |
RsIterator.getObjectFromResultSet()
returns a fully materialized Object from the current row of the underlying resultset. |
PreparedStatement |
StatementManager.getPreparedStatement(ClassDescriptor cds,
String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
return a generic Statement for the given ClassDescriptor |
PreparedStatement |
StatementManagerIF.getPreparedStatement(ClassDescriptor cds,
String sql,
boolean scrollable,
int explicitFetchSizeHint,
boolean callableStmt)
Return a PreparedStatement for selecting against the given ClassDescriptor. |
protected Object |
RsIterator.getProxyFromResultSet()
Reads primary key information from current RS row and generates a corresponding Identity, and returns a proxy from the Identity. |
PreparedStatement |
StatementManager.getSelectByPKStatement(ClassDescriptor cds)
return a prepared Select Statement for the given ClassDescriptor |
PreparedStatement |
StatementManager.getUpdateStatement(ClassDescriptor cds)
return a prepared Update Statement fitting to the given ClassDescriptor |
Object |
JdbcAccess.materializeObject(ClassDescriptor cld,
Identity oid)
performs a primary key lookup operation against RDBMS and materializes an object from the resulting row. |
Object |
JdbcAccessImpl.materializeObject(ClassDescriptor cld,
Identity oid)
performs a primary key lookup operation against RDBMS and materializes an object from the resulting row. |
Object |
RowReaderDefaultImpl.readObjectFrom(Map row)
materialize a single object, described by cld, from the first row of the ResultSet rs. |
boolean |
ChainingIterator.relative(int row)
Moves the cursor a relative number of rows. |
boolean |
PagingIterator.relative(int row)
|
boolean |
OJBIterator.relative(int row)
Moves the cursor a relative number of rows, either positive or negative. |
boolean |
RsIterator.relative(int row)
Moves the cursor a relative number of rows, either positive or negative. |
protected ClassDescriptor |
RowReaderDefaultImpl.selectClassDescriptor(Map row)
Check if there is an attribute which tells us which concrete class is to be instantiated. |
int |
ChainingIterator.size()
Calculates the size of all the iterators. |
int |
PagingIterator.size()
|
int |
OJBIterator.size()
|
int |
RsIterator.size()
|
| Constructors in org.apache.ojb.broker.accesslayer that throw PersistenceBrokerException | |
|---|---|
SqlBasedReportQueryRsIterator(RsQueryObject queryObject,
PersistenceBrokerImpl broker)
SqlBasedRsIterator constructor. |
|
SqlBasedRsIterator(RsQueryObject queryObject,
PersistenceBrokerImpl broker)
SqlBasedRsIterator constructor. |
|
| Uses of PersistenceBrokerException in org.apache.ojb.broker.accesslayer.conversions |
|---|
| Subclasses of PersistenceBrokerException in org.apache.ojb.broker.accesslayer.conversions | |
|---|---|
class |
ConversionException
A ConversionException can be thrown by implementors of FieldConversion to signal failures during the conversion process. |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.accesslayer.sql |
|---|
| Methods in org.apache.ojb.broker.accesslayer.sql that throw PersistenceBrokerException | |
|---|---|
protected void |
SqlPkStatement.appendWhereClause(FieldDescriptor[] fields,
StringBuffer stmt)
Generate a sql where-clause for the array of fields |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.core |
|---|
| Methods in org.apache.ojb.broker.core that throw PersistenceBrokerException | |
|---|---|
void |
DelegatingPersistenceBroker.addListener(PBListener listener)
|
void |
PersistenceBrokerBean.addListener(PBListener listener)
|
void |
PersistenceBrokerAbstractImpl.addListener(PBListener listener)
|
void |
DelegatingPersistenceBroker.addListener(PBListener listener,
boolean permanent)
|
void |
PersistenceBrokerBean.addListener(PBListener listener,
boolean permanent)
|
void |
PersistenceBrokerAbstractImpl.addListener(PBListener listener,
boolean permanent)
|
void |
DelegatingPersistenceBroker.addMtoNImplementor(MtoNImplementor m2nImpl)
|
void |
PersistenceBrokerBean.addMtoNImplementor(MtoNImplementor m2nImpl)
|
void |
PersistenceBrokerImpl.addMtoNImplementor(MtoNImplementor m2n)
|
void |
DelegatingPersistenceBroker.clearCache()
|
void |
PersistenceBrokerBean.clearCache()
|
void |
PersistenceBrokerImpl.clearCache()
clears the brokers internal cache. |
static PersistenceBrokerInternal |
PersistenceBrokerThreadMapping.currentPersistenceBroker(PBKey key)
Return the current open PersistenceBroker
instance for the given PBKey, if any. |
void |
DelegatingPersistenceBroker.delete(Object obj)
|
void |
PersistenceBrokerBean.delete(Object obj)
|
void |
PersistenceBrokerImpl.delete(Object obj)
|
void |
DelegatingPersistenceBroker.delete(Object obj,
boolean ignoreReferences)
|
void |
PersistenceBrokerImpl.delete(Object obj,
boolean ignoreReferences)
Deletes the concrete representation of the specified object in the underlying persistence system. |
void |
DelegatingPersistenceBroker.deleteByQuery(Query query)
|
void |
PersistenceBrokerBean.deleteByQuery(Query query)
|
void |
PersistenceBrokerImpl.deleteByQuery(Query query)
|
void |
DelegatingPersistenceBroker.deleteMtoNImplementor(MtoNImplementor m2nImpl)
|
void |
PersistenceBrokerBean.deleteMtoNImplementor(MtoNImplementor m2nImpl)
|
void |
PersistenceBrokerImpl.deleteMtoNImplementor(MtoNImplementor m2nImpl)
|
Object |
PersistenceBrokerImpl.doGetObjectByIdentity(Identity id)
Internal used method to retrieve object based on Identity. |
ClassDescriptor |
DelegatingPersistenceBroker.getClassDescriptor(Class clazz)
|
ClassDescriptor |
PersistenceBrokerBean.getClassDescriptor(Class clazz)
|
ClassDescriptor |
PersistenceBrokerImpl.getClassDescriptor(Class clazz)
returns a ClassDescriptor for the persistence capable class clazz. |
ManageableCollection |
DelegatingPersistenceBroker.getCollectionByQuery(Class collectionClass,
Query query)
|
ManageableCollection |
PersistenceBrokerBean.getCollectionByQuery(Class collectionClass,
Query query)
|
ManageableCollection |
PersistenceBrokerImpl.getCollectionByQuery(Class collectionClass,
Query query)
retrieve a collection of type collectionClass matching the Query query |
ManageableCollection |
QueryReferenceBroker.getCollectionByQuery(Class collectionClass,
Query query,
boolean lazy)
retrieve a collection of type collectionClass matching the Query query if lazy = true return a CollectionProxy |
Collection |
DelegatingPersistenceBroker.getCollectionByQuery(Query query)
|
Collection |
PersistenceBrokerBean.getCollectionByQuery(Query query)
|
Collection |
PersistenceBrokerImpl.getCollectionByQuery(Query query)
retrieve a collection of itemClass Objects matching the Query query |
Collection |
QueryReferenceBroker.getCollectionByQuery(Query query,
boolean lazy)
retrieve a collection of itemClass Objects matching the Query query |
int |
DelegatingPersistenceBroker.getCount(Query query)
|
int |
PersistenceBrokerBean.getCount(Query query)
|
int |
PersistenceBrokerImpl.getCount(Query query)
|
Iterator |
DelegatingPersistenceBroker.getIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerBean.getIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerImpl.getIteratorByQuery(Query query)
returns an Iterator that iterates Objects of class c if calling the .next() method. |
protected OJBIterator |
PersistenceBrokerImpl.getIteratorFromQuery(Query query,
ClassDescriptor cld)
Get an extent aware Iterator based on the Query |
Object |
DelegatingPersistenceBroker.getObjectByIdentity(Identity id)
|
Object |
PersistenceBrokerBean.getObjectByIdentity(Identity id)
|
Object |
PersistenceBrokerImpl.getObjectByIdentity(Identity id)
|
Object |
DelegatingPersistenceBroker.getObjectByQuery(Query query)
|
Object |
PersistenceBrokerBean.getObjectByQuery(Query query)
|
Object |
PersistenceBrokerImpl.getObjectByQuery(Query query)
retrieve an Object by query I.e perform a SELECT ... |
Enumeration |
DelegatingPersistenceBroker.getPKEnumerationByQuery(Class primaryKeyClass,
Query query)
|
Enumeration |
PersistenceBrokerBean.getPKEnumerationByQuery(Class PrimaryKeyClass,
Query query)
|
Enumeration |
PersistenceBrokerImpl.getPKEnumerationByQuery(Class primaryKeyClass,
Query query)
returns an Enumeration of PrimaryKey Objects for objects of class DataClass. |
Iterator |
DelegatingPersistenceBroker.getReportQueryIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerBean.getReportQueryIteratorByQuery(Query query)
|
Iterator |
PersistenceBrokerImpl.getReportQueryIteratorByQuery(Query query)
Get an Iterator based on the ReportQuery |
Class |
DelegatingPersistenceBroker.getTopLevelClass(Class clazz)
|
Class |
PersistenceBrokerBean.getTopLevelClass(Class clazz)
|
Class |
PersistenceBrokerImpl.getTopLevelClass(Class clazz)
|
boolean |
DelegatingPersistenceBroker.isInTransaction()
|
boolean |
PersistenceBrokerBean.isInTransaction()
|
boolean |
PersistenceBrokerHandle.isInTransaction()
|
void |
DelegatingPersistenceBroker.removeAllListeners()
|
void |
PersistenceBrokerBean.removeAllListeners()
|
void |
PersistenceBrokerAbstractImpl.removeAllListeners()
|
void |
DelegatingPersistenceBroker.removeAllListeners(boolean permanent)
|
void |
PersistenceBrokerBean.removeAllListeners(boolean permanent)
|
void |
PersistenceBrokerAbstractImpl.removeAllListeners(boolean permanent)
|
void |
DelegatingPersistenceBroker.removeFromCache(Object obj)
|
void |
PersistenceBrokerBean.removeFromCache(Object obj)
|
void |
PersistenceBrokerImpl.removeFromCache(Object objectOrIdentity)
|
void |
DelegatingPersistenceBroker.removeListener(PBListener listener)
|
void |
PersistenceBrokerBean.removeListener(PBListener listener)
|
void |
PersistenceBrokerAbstractImpl.removeListener(PBListener listener)
|
void |
DelegatingPersistenceBroker.retrieveAllReferences(Object pInstance)
|
void |
PersistenceBrokerBean.retrieveAllReferences(Object pInstance)
|
void |
PersistenceBrokerImpl.retrieveAllReferences(Object pInstance)
Retrieve all References (also Collection-attributes) of a given instance. |
void |
QueryReferenceBroker.retrieveCollections(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all Collection attributes of a given instance |
void |
QueryReferenceBroker.retrieveProxyCollections(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all Collection attributes of a given instance, and make all of the Proxy Collections |
void |
QueryReferenceBroker.retrieveProxyReferences(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all References |
void |
DelegatingPersistenceBroker.retrieveReference(Object pInstance,
String pAttributeName)
|
void |
PersistenceBrokerBean.retrieveReference(Object pInstance,
String pAttributeName)
|
void |
PersistenceBrokerImpl.retrieveReference(Object pInstance,
String pAttributeName)
retrieve a single reference- or collection attribute of a persistent instance. |
void |
QueryReferenceBroker.retrieveReferences(Object newObj,
ClassDescriptor cld,
boolean forced)
Retrieve all References |
void |
DelegatingPersistenceBroker.store(Object obj)
|
void |
PersistenceBrokerBean.store(Object obj)
|
void |
PersistenceBrokerImpl.store(Object obj)
Store an Object. |
void |
DelegatingPersistenceBroker.store(Object obj,
ObjectModification modification)
|
void |
PersistenceBrokerBean.store(Object obj,
ObjectModification modification)
|
void |
PersistenceBrokerImpl.store(Object obj,
ObjectModification mod)
Makes object obj persistent in the underlying persistence system. |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.core.proxy |
|---|
| Methods in org.apache.ojb.broker.core.proxy that throw PersistenceBrokerException | |
|---|---|
void |
CollectionProxyDefaultImpl.afterStore(PersistenceBroker broker)
|
Object |
VirtualProxy.getRealSubject()
Returns the proxies real subject. |
Object |
AbstractIndirectionHandler.getRealSubject()
Returns the proxies real subject. |
Object |
IndirectionHandler.getRealSubject()
Returns the proxies real subject. |
protected Collection |
CollectionProxyDefaultImpl.loadData()
Loads the data from the database. |
protected Collection |
SetProxyDefaultImpl.loadData()
|
protected Collection |
ListProxyDefaultImpl.loadData()
|
protected int |
CollectionProxyDefaultImpl.loadSize()
Determines the number of elements that the query would return. |
protected Object |
AbstractIndirectionHandler.materializeSubject()
Retrieves the real subject from the underlying RDBMS. |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.metadata |
|---|
| Subclasses of PersistenceBrokerException in org.apache.ojb.broker.metadata | |
|---|---|
class |
ClassNotPersistenceCapableException
This exception is thrown if a class is not described in the MetaData Repository, and thus cannot be handled properly by OJB |
class |
MetadataException
This exception is thrown if a MetaData related problem occurs. |
| Methods in org.apache.ojb.broker.metadata that throw PersistenceBrokerException | |
|---|---|
ValueContainer[] |
ClassDescriptor.getCurrentLockingValues(Object o)
returns an Array with an Objects CURRENT locking VALUES , BRJ |
Object[] |
ObjectReferenceDescriptor.getForeignKeyValues(Object obj,
ClassDescriptor mif)
Returns an Object array of all FK field values of the specified object. |
Class |
ObjectReferenceDescriptor.getItemProxyClass()
|
boolean |
CollectionDescriptor.hasProxyItems()
|
void |
ClassDescriptor.updateLockingValues(Object obj)
updates the values for locking fields , BRJ handles int, long, Timestamp respects updateLock so locking field are only updated when updateLock is true |
| Constructors in org.apache.ojb.broker.metadata that throw PersistenceBrokerException | |
|---|---|
DescriptorRepository()
Constructor declaration |
|
| Uses of PersistenceBrokerException in org.apache.ojb.broker.util |
|---|
| Methods in org.apache.ojb.broker.util that throw PersistenceBrokerException | |
|---|---|
ValueContainer[] |
BrokerHelper.getAllRwValues(ClassDescriptor cld,
Object obj)
Returns an array containing values for all READ/WRITE attributes of the object based on the specified ClassDescriptor. |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Identity oid)
Return primary key values of given Identity object. |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Identity oid,
boolean convertToSql)
Return key Values of an Identity |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Object objectOrProxy)
returns an Array with an Objects PK VALUES, with any java-to-sql FieldConversion applied. |
ValueContainer[] |
BrokerHelper.getKeyValues(ClassDescriptor cld,
Object objectOrProxy,
boolean convertToSql)
Returns an Array with an Objects PK VALUES if convertToSql is true, any associated java-to-sql conversions are applied. |
ValueContainer[] |
BrokerHelper.getNonKeyRwValues(ClassDescriptor cld,
Object obj)
Returns an array containing values for all non PK field READ/WRITE attributes of the object based on the specified ClassDescriptor. |
ValueContainer[] |
BrokerHelper.getValuesForObject(FieldDescriptor[] fields,
Object obj,
boolean convertToSql)
|
ValueContainer[] |
BrokerHelper.getValuesForObject(FieldDescriptor[] fields,
Object obj,
boolean convertToSql,
boolean assignAutoincrement)
Get the values of the fields for an obj Autoincrement values are automatically set. |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.util.collections |
|---|
| Methods in org.apache.ojb.broker.util.collections that throw PersistenceBrokerException | |
|---|---|
void |
ManageableHashMap.afterStore(PersistenceBroker broker)
|
void |
ManageableHashSet.afterStore(PersistenceBroker broker)
|
void |
ManageableVector.afterStore(PersistenceBroker broker)
|
void |
RemovalAwareSet.afterStore(PersistenceBroker broker)
|
void |
RemovalAwareCollection.afterStore(PersistenceBroker broker)
|
void |
RemovalAwareList.afterStore(PersistenceBroker broker)
|
void |
ManageableArrayList.afterStore(PersistenceBroker broker)
|
| Uses of PersistenceBrokerException in org.apache.ojb.broker.util.configuration |
|---|
| Subclasses of PersistenceBrokerException in org.apache.ojb.broker.util.configuration | |
|---|---|
class |
ConfigurationException
This exception is used to signal Problems that occur during configuration operations. |
| Uses of PersistenceBrokerException in org.apache.ojb.broker.util.sequence |
|---|
| Methods in org.apache.ojb.broker.util.sequence that throw PersistenceBrokerException | |
|---|---|
static long |
SequenceManagerHelper.getMaxForExtent(PersistenceBroker brokerForClass,
FieldDescriptor field)
Lookup all tables associated with given class (search all extent classes) to find the current maximum value for the given field. |
static long |
SequenceManagerHelper.getMaxId(PersistenceBroker brokerForClass,
Class topLevel,
FieldDescriptor original)
Search down all extent classes and return max of all found PK values. |
static long |
SequenceManagerHelper.getMaxIdForClass(PersistenceBroker brokerForClass,
ClassDescriptor cldForOriginalOrExtent,
FieldDescriptor original)
lookup current maximum value for a single field in table the given class descriptor was associated. |
| Uses of PersistenceBrokerException in org.apache.ojb.odmg |
|---|
| Methods in org.apache.ojb.odmg that throw PersistenceBrokerException | |
|---|---|
Object |
TransactionImpl.getObjectByIdentity(Identity id)
Get object by identity. |
Object |
NarrowTransaction.getObjectByIdentity(Identity id)
|
| Uses of PersistenceBrokerException in org.apache.ojb.odmg.collections |
|---|
| Methods in org.apache.ojb.odmg.collections that throw PersistenceBrokerException | |
|---|---|
void |
DSetImpl.afterDelete(PersistenceBroker broker)
noop |
void |
DListEntry.afterDelete(PersistenceBroker broker)
|
void |
DMapImpl.afterDelete(PersistenceBroker broker)
noop |
void |
DListImpl.afterDelete(PersistenceBroker broker)
noop |
void |
DMapEntry.afterDelete(PersistenceBroker broker)
|
void |
DSetImpl.afterInsert(PersistenceBroker broker)
noop |
void |
DListEntry.afterInsert(PersistenceBroker broker)
|
void |
DMapImpl.afterInsert(PersistenceBroker broker)
noop |
void |
DListImpl.afterInsert(PersistenceBroker broker)
noop |
void |
DMapEntry.afterInsert(PersistenceBroker broker)
|
void |
DSetImpl.afterLookup(PersistenceBroker broker)
noop |
void |
DListEntry.afterLookup(PersistenceBroker broker)
|
void |
DMapImpl.afterLookup(PersistenceBroker broker)
noop |
void |
DListImpl.afterLookup(PersistenceBroker broker)
noop |
void |
DMapEntry.afterLookup(PersistenceBroker broker)
|
void |
DSetImpl.afterStore(PersistenceBroker broker)
|
void |
DListImpl.afterStore(PersistenceBroker broker)
|
void |
DSetImpl.afterUpdate(PersistenceBroker broker)
noop |
void |
DListEntry.afterUpdate(PersistenceBroker broker)
|
void |
DMapImpl.afterUpdate(PersistenceBroker broker)
noop |
void |
DListImpl.afterUpdate(PersistenceBroker broker)
noop |
void |
DMapEntry.afterUpdate(PersistenceBroker broker)
|
void |
DSetImpl.beforeDelete(PersistenceBroker broker)
noop |
void |
DListEntry.beforeDelete(PersistenceBroker broker)
|
void |
DMapImpl.beforeDelete(PersistenceBroker broker)
noop |
void |
DListImpl.beforeDelete(PersistenceBroker broker)
noop |
void |
DMapEntry.beforeDelete(PersistenceBroker broker)
|
void |
DSetImpl.beforeInsert(PersistenceBroker broker)
prepare itself for persistence. |
void |
DListEntry.beforeInsert(PersistenceBroker broker)
|
void |
DMapImpl.beforeInsert(PersistenceBroker broker)
prepare itself for persistence. |
void |
DListImpl.beforeInsert(PersistenceBroker broker)
prepare itself for persistence. |
void |
DMapEntry.beforeInsert(PersistenceBroker broker)
|
void |
DSetImpl.beforeUpdate(PersistenceBroker broker)
noop |
void |
DListEntry.beforeUpdate(PersistenceBroker broker)
|
void |
DMapImpl.beforeUpdate(PersistenceBroker broker)
noop |
void |
DListImpl.beforeUpdate(PersistenceBroker broker)
noop |
void |
DMapEntry.beforeUpdate(PersistenceBroker broker)
|
| Uses of PersistenceBrokerException in org.apache.ojb.odmg.states |
|---|
| Methods in org.apache.ojb.odmg.states that throw PersistenceBrokerException | |
|---|---|
abstract void |
ModificationState.checkpoint(ObjectEnvelope mod)
|
void |
StateNewClean.checkpoint(ObjectEnvelope mod)
checkpoint the transaction |
void |
StateTransient.checkpoint(ObjectEnvelope mod)
checkpoint the transaction |
void |
StateNewDirty.checkpoint(ObjectEnvelope mod)
checkpoint the ObjectModification |
void |
StateOldDelete.checkpoint(ObjectEnvelope mod)
rollback the transaction |
void |
StateOldDirty.checkpoint(ObjectEnvelope mod)
checkpoint the transaction |
abstract void |
ModificationState.commit(ObjectEnvelope mod)
|
void |
StateNewClean.commit(ObjectEnvelope mod)
commit the associated transaction |
void |
StateTransient.commit(ObjectEnvelope mod)
commit the associated transaction |
void |
StateNewDirty.commit(ObjectEnvelope mod)
commit the associated transaction |
void |
StateOldDelete.commit(ObjectEnvelope mod)
commit the associated transaction |
void |
StateOldDirty.commit(ObjectEnvelope mod)
commit the associated transaction |
|
||||||||||
| PREV NEXT | FRAMES NO FRAMES | |||||||||