Package org.jpox.store.exceptions

Provides exceptions that can be thrown when communicating with the datastore.

See:
          Description

Exception Summary
ClassDefinitionException A ClassDefinitionException is thrown if the settings of a persistent class are inconsistent with it's metadata.
DatastoreFieldDefinitionException A ColumnDefinitionException is thrown if the settings of a database column are incompatible with the data type of the object field to which it is mapped.
DatastoreInitialisationException Representation of an error encountered initialising a datastore.
DatastorePermissionException Representation of a permission exception for a datastore.
IncompatibleQueryElementTypeException A IncompatibleQueryElementTypeException is thrown if a variable used in a query is detected to have an type incompatible with the element type of the collection to which it is being applied.
NoDatastoreMappingException A NoDatastoreMappingException is thrown if an operation is performed that assumes that a particular persistent field is stored in a single datastore field when it is not (such as if the field is a Collection or a Map).
NoExtentException A NoExtentException is thrown if an attempt is made to perform an operation using a class that is not backed by an extent (ie table or view) in the database and the operation is not supported on such classes.
NoSuchPersistentFieldException A NoSuchPersistentFieldException is thrown if a reference is made somewhere, such as in a query filter string, to a field that either doesn't exist or is not persistent.
NoTableManagedException A NoTableManagedException is thrown if an attempt is made to perform an operation using a class that is not backed by an table or view in the database and the operation is not supported on such classes.
NotYetFlushedException A NotYetFlushedException is thrown when an pc instance instance is not yet flushed to the datastore, but it was expected to already be
NullValueException A NullValueException is thrown if a null value is encountered in a database column that should prohibit null values.
QueryNotUniqueException This exception is thrown when a user runs a Query and has marked it as UNIQUE, but it returns more than 1 object.
SchemaValidationException A SchemaValidationException is thrown if a mismatch is discovered between what the JDO runtime thinks the schema should look like and what it actually looks like.
TableMismatchException A TableMismatchException is thrown if the query statement generator attempts to reference a column in a table expression but the column's table is not present in the expression, nor can it be sensibly joined to the expression.
UnsupportedDataTypeException A UnsupportedDataTypeException is thrown if an attempt is made to persist an object field whose data type is not supported by the database and/or the persistence package.
 

Package org.jpox.store.exceptions Description

Provides exceptions that can be thrown when communicating with the datastore.



Copyright © -2007 . All Rights Reserved.