Details
-
Type:
Improvement
-
Status:
Resolved
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.1
-
Fix Version/s: 1.1.0
-
Component/s: None
-
Labels:None
-
Number of attachments :
Description
From the Hibernate reference documentaion:
Transactional persistent instances (ie. objects loaded, saved, created or
queried by the Session) may be manipulated by the application and any
changes to persistent state will be persisted when the Session is flushed
There is no need to call a particular method (like update(), which has a different purpose) to make your modifications
persistent. So the most straightforward way to update the state of an object is
to load() it, and then manipulate it directly, while the Session is open.
Other persistency frameworks may work different so a dao methods for update are still required. For Hibernate the implementation of this method does nothing.
Issue Links
| This issue is related to: | ||||
| MODFORJ-118 | Remove explicit update from business services |
|
|
|