|
The <hib:refresh> tag wraps the Session.refresh()
method. This re-read the state of the given instance from the underlying
database.
The <hib:update> tag's attributes are as follows:
| Attribute |
Description |
Required |
Default |
target |
Name of the variable who should be refreshed from the database |
Yes |
None |
sessionFactory |
Session factory to use (overrides the default) |
No |
Default session factory |
Examples
Example 5 - Refreshing an object in an HttpSession attribute
|