delete
Delete the given entity from the database, if it is already persisted.
Return
nothing
Parameters
the entity to delete.
See also
isPersistent
deleteAll
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.
Parameters
a query string
optional sequence of indexed parameters
See also
deleteAll
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.
Parameters
a query string
Map of named parameters
See also
deleteAll
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.
Parameters
a query string
Parameters of named parameters
See also
deleteAll