Performs a batch insert of the entities that are passed in as an argument.
Performs a batch insert of the entities that are passed in
as an argument. The result will be the number of created
entities in case of a successful batch insert execution
(if the row count is provided by the underlying database
or driver. If not, then None
will be returned as the
result of a successful batch insert operation).
Batch persister
Batch persister
Counts all entities.
Deletes a given entity from the database.
Deletes a given entity from the database.
If the entity is not yet persisted in the database then this operation will result in an exception being thrown.
Returns the pessimistic lock statement based on the current database driver type.
Executes the given unit of work in a single transaction.
Finds all entities.
Finds a given entity by its primary key.
Generated ID persister
Generated ID persister
Builds a batch persister
Builds a batch persister
Builds a generated ID persister
Builds a generated ID persister
Builds a predefined ID persister
Builds a predefined ID persister
Builds an updater
Builds an updater
Locks an entity using a pessimistic lock.
Predefined ID persister
Predefined ID persister
Persists an entity for the first time.
Persists an entity for the first time.
If the entity has an already assigned primary key, then it will be persisted with that same primary key.
If the entity doesn't have an already assigned primary key, then it will be persisted using an auto-generated primary key using the generation strategy configured in the entity definition.
A new entity with the primary key assigned to it will be returned.
Updates a given entity in the database.
Updates a given entity in the database.
If the entity is not yet persisted in the database then this operation will result in an exception being thrown.
Returns the same entity instance that was passed in as an argument.
Update finder
Update finder
Update validator
Update validator
Updater
Updater
Repository used to execute CRUD operations against a database for a given entity type.