Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
Minor
-
Resolution: Fixed
-
Affects Version/s: None
-
Fix Version/s: 1.1-beta1
-
Component/s: Persistence
-
Labels:None
Description
It would be nice if GORM supported Hibernate's dynamic-update="true", here is an exmple hibernate mapping
<class name="CommonProfile" table="common_profile" dynamic-update="true">
dynamic-update="true" makes update queries only update fields that have been changed on domain objects. An example of why this would be nice is that I'm using a custom UserType to hash my passwords, but every time I update my user objects, the password gets re-hashed, so it is ever changing. Dynamic-update would solve that, because I wouldn't be altering the password field unless I wanted it changed.
Activity
- All
- Comments
- Work Log
- History
- Activity
- Git Commits
Graeme Rocher
made changes -
| Field | Original Value | New Value |
|---|---|---|
| Fix Version/s | 1.1 [ 13674 ] |
Graeme Rocher
made changes -
| Parent | GRAILS-3396 [ 73760 ] | |
| Issue Type | Improvement [ 4 ] | Sub-task [ 7 ] |
Graeme Rocher
made changes -
| Status | Open [ 1 ] | In Progress [ 3 ] |
Graeme Rocher
made changes -
| Resolution | Fixed [ 1 ] | |
| Status | In Progress [ 3 ] | Closed [ 6 ] |
Contegix Support
made changes -
| Project Import | Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 29765 ] | Grails [ 42756 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 42756 ] | Copy of Grails [ 50209 ] |
Burt Beckwith
made changes -
| Workflow | Copy of Grails [ 50209 ] | Grails [ 57619 ] |
Burt Beckwith
made changes -
| Workflow | Grails [ 57619 ] | Grails2 [ 65197 ] |
Burt Beckwith
made changes -
| Workflow | Grails2 [ 65197 ] | jira [ 72465 ] |
Burt Beckwith
made changes -
| Workflow | jira [ 72465 ] | Grails2 [ 81363 ] |
Peter Ledbrook
made changes -
| Workflow | Grails2 [ 81363 ] | jira [ 89851 ] |
Peter Ledbrook
made changes -
| Workflow | jira [ 89851 ] | Grails2 [ 98064 ] |