Exception | Description |
---|---|
ClassDefinitionException |
A ClassDefinitionException is thrown if the settings of a
persistent class are inconsistent with it's metadata.
|
ColumnDefinitionException |
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.
|
DuplicateColumnException |
A DuplicateColumnException is thrown if an attempt is made to
add a column to a table with a name already in-use by an existing column.
|
IncompatibleDataTypeException |
A IncompatibleDataTypeException is thrown if a column is detected to
have an incompatible type in the database during schema validation.
|
MappedDatastoreException | |
MissingColumnException |
A MissingColumnException is thrown if an expected column is
not found in the database during schema validation.
|
MissingTableException |
A MissingTableException is thrown if an expected table is
not found in the database during schema validation.
|
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.
|
NotATableException |
A NotATableException is thrown during schema validation if a
table should be a table but is found not to be in the database.
|
NotAViewException |
A NotAViewException is thrown during schema validation if a
table should be a view but is found not to be in the database.
|
NullValueException |
A NullValueException is thrown if a null value is encountered
in a database column that should prohibit null values.
|
PersistentSuperclassNotAllowedException |
A PersistentSuperclassNotAllowedException is thrown if a
persistence-capable class is declared to have a persistence-capable
superclass when that class is backed by a view.
|
PrimaryKeyColumnNotAllowedException |
A PrimaryKeyColumnNotAllowedException is thrown if an attempt is
made to add a primary key column to a view.
|
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.
|
UnexpectedColumnException |
A UnexpectedColumnException is thrown if an unexpected column is
encountered in the database during schema validation.
|
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.
|
ViewDefinitionException |
A ViewDefinitionException is thrown if the metadata extension(s)
that define a view are missing or invalid.
|
WrongPrecisionException |
A WrongPrecisionException is thrown if a column is detected to have
the wrong precision in the database during schema validation.
|
WrongPrimaryKeyException |
A WrongPrimaryKeyException is thrown if a table is detected not to
have the expected primary key in the database during schema validation.
|
WrongScaleException |
A WrongScaleException is thrown if a column is detected to have
the wrong scale in the database during schema validation.
|
Copyright © 2015. All rights reserved.