Package org.datanucleus.store.mapped.exceptions

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.
DuplicateDatastoreFieldException A DuplicateDatastoreFieldException is thrown if an attempt is made to add a column to a table with a name already in-use by an existing column.
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.
MappedDatastoreException  
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).
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.
NullValueException A NullValueException is thrown if a null value is encountered in a database column that should prohibit null values.
TooManyForeignKeysException A TooManyForeignKeysException is thrown when trying to add a foreign key to a table and the table already has the maximum allowed number of foreign keys.
TooManyIndicesException A TooManyIndicesException is thrown when trying to add an index to a table and the table already has the maximum allowed number of indices.
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.
 



Copyright © 2012. All Rights Reserved.