Interface | Description |
---|---|
BlockingEntityStore<T> |
Synchronous version of
EntityStore in which the entity objects are returned directly
after the successful completion of the operation and all modification operations are blocking. |
Converter<A,B> |
Interface for converting between a java custom type to a basic java persisted type.
|
EntityCache |
Cache of entity objects.
|
EntityStore<T,R> |
The primary interface for interacting with
Entity objects. |
Persistable |
Marker interface automatically added on generated entity classes.
|
Queryable<T> |
Interface for querying both
Entity objects and selectable attributes of those objects. |
Transaction |
Represents a transaction.
|
Transactionable<R> |
Defines an interface for objects that provide a transaction.
|
TransactionListenable | |
TransactionListener |
Provides an interface for listening to
Transaction actions. |
Enum | Description |
---|---|
CascadeAction |
Cascade action to use when adding or removing an element to an associative collection.
|
PropertyNameStyle | |
ReferentialAction |
Referential action / propagation constraint type.
|
TransactionIsolation |
Defines the transaction isolation level.
|
Exception | Description |
---|---|
PersistenceException |
Base persistence exception from which other persistence exceptions are subclassed from.
|
ReadOnlyException |
Exception thrown when attempting to modify a
ReadOnly entity or field. |
RollbackException |
Exception thrown after indicating a transaction was rolled back.
|
TransactionException |
Exception thrown during a transaction operation failure.
|
Annotation Type | Description |
---|---|
Column |
Indicates a field as being a column in a database table.
|
Convert | |
Embedded |
Marks a class as being embeddable inside an entity object.
|
Entity |
Marks a type as persistable.
|
Factory | |
ForeignKey |
Indicates that this field should be the foreign key for a reference to another type.
|
Generated |
Indicates a field as being auto generated by the store.
|
Index |
Indicates a field as being an indexed column in a database table.
|
JunctionTable |
Indicates the owning side of a Many-to-Many relationship, and defines the junction
(cross reference) table to use to map the relationship.
|
Key |
Indicates a field as being the primary key for the object.
|
Lazy |
Indicates that the field should be loaded lazily by the persistence store.
|
ManyToMany |
Defines a Many-to-Many relationship for an entity field.
|
ManyToOne |
Defines a Many-To-One relationship for an entity field.
|
Naming | |
Nullable |
Marks an
Entity field as being nullable explicitly. |
OneToMany |
Defines a One-to-Many relationship for an entity field.
|
OneToOne |
Defines a 1-1 relationship for an entity field.
|
OrderBy |
Set the query sort order for relationship attribute (a field or method marked with
ManyToMany or OneToMany . |
PostDelete |
Indicates a callback method for after the entity has been deleted.
|
PostInsert |
Indicates a callback method for after the entity has been saved (persisted).
|
PostLoad |
Indicates a callback method for after the entity has been loaded.
|
PostUpdate |
Indicates a callback method for the post update event.
|
PreDelete |
Indicates a callback method for before the entity is deleted.
|
PreInsert |
Indicates a callback method for before the entity is persisted.
|
PreUpdate |
Indicates a callback method for the pre update event.
|
ReadOnly |
Indicates an entity class or a field of an entity class as read only.
|
Superclass |
Marks a type as being a superclass of an entity.
|
Table |
Annotation for defining table mapping information for an entity.
|
Transient |
Indicates a field or type that will not be persisted.
|
Version |
Defines a version attribute for optimistic locking.
|