delete
Delete the given entity from the database, if it is already persisted.
Return
nothing
See also
isPersistent
deleteAll
Parameters
the entity to delete.
Delete all entities of this type matching the given query, with optional indexed parameters.
WARNING: the default implementation of this method uses a bulk delete query and ignores cascading rules from the JPA model.
Return
the number of entities deleted.
See also
deleteAll
Parameters
a query string
optional sequence of indexed parameters
Delete all entities of this type matching the given query, with named parameters.
WARNING: the default implementation of this method uses a bulk delete query and ignores cascading rules from the JPA model.
Return
the number of entities deleted.
See also
deleteAll
Parameters
a query string
Map of named parameters
Delete all entities of this type matching the given query, with named parameters.
WARNING: the default implementation of this method uses a bulk delete query and ignores cascading rules from the JPA model.
Return
the number of entities deleted.
See also
deleteAll
Parameters
a query string
Parameters of named parameters