|
The <hib:delete> tag wraps the Session.delete()
method. This allows you to delete a single persisted object.
The <hib:delete> tag's attributes are as follows:
| Attribute |
Description |
Required |
Default |
target |
Name of the variable who should be removed from the persistance layer |
Yes |
None |
sessionFactory |
Session factory to use (overrides the default) |
No |
Default session factory |
Examples
Example 7 - Deleting fat cats
|