Grails JIRA

  • Log In Access more options
    • Online Help
    • GreenHopper Help
    • Agile Answers
    • Keyboard Shortcuts
    • About JIRA
    • JIRA Credits
    • What’s New
  • Dashboards Access more options (Alt+d)
  • Projects Access more options (Alt+p)
  • Issues Access more options (Alt+i)
  • Agile
Grails
  • Grails
  • GRAILS-3396 Top level task: GORM Improvements
  • GRAILS-2999

GORM to support dynamic-update="true"

  • Log In
  • Views
    • XML
    • Word
    • Printable

Details

  • Type: Sub-task Sub-task
  • Status: Closed Closed
  • Priority: Minor 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

Ascending order - Click to sort in descending order
  • All
  • Comments
  • Work Log
  • History
  • Activity
  • Git Commits
Graeme Rocher made changes - 27/May/08 6:18 AM
Field Original Value New Value
Fix Version/s 1.1 [ 13674 ]
Graeme Rocher made changes - 18/Sep/08 8:49 AM
Parent GRAILS-3396 [ 73760 ]
Issue Type Improvement [ 4 ] Sub-task [ 7 ]
Graeme Rocher made changes - 28/Oct/08 7:46 AM
Status Open [ 1 ] In Progress [ 3 ]
Graeme Rocher made changes - 28/Oct/08 7:56 AM
Resolution Fixed [ 1 ]
Status In Progress [ 3 ] Closed [ 6 ]
Contegix Support made changes - 24/Mar/11 9:22 PM
Project Import Thu Mar 24 21:22:24 CDT 2011 [ 1301019744151 ]
Burt Beckwith made changes - 03/Aug/11 11:53 AM
Workflow jira [ 29765 ] Grails [ 42756 ]
Burt Beckwith made changes - 09/Aug/11 6:32 PM
Workflow Grails [ 42756 ] Copy of Grails [ 50209 ]
Burt Beckwith made changes - 09/Aug/11 7:03 PM
Workflow Copy of Grails [ 50209 ] Grails [ 57619 ]
Burt Beckwith made changes - 20/Aug/11 10:40 PM
Workflow Grails [ 57619 ] Grails2 [ 65197 ]
Burt Beckwith made changes - 21/Dec/11 1:19 PM
Workflow Grails2 [ 65197 ] jira [ 72465 ]
Burt Beckwith made changes - 21/Dec/11 1:30 PM
Workflow jira [ 72465 ] Grails2 [ 81363 ]
Peter Ledbrook made changes - 23/Jan/12 5:34 AM
Workflow Grails2 [ 81363 ] jira [ 89851 ]
Peter Ledbrook made changes - 23/Jan/12 5:43 AM
Workflow jira [ 89851 ] Grails2 [ 98064 ]

People

  • Assignee:
    Graeme Rocher
    Reporter:
    Dustin Whitney
Vote (0)
Watch (0)

Dates

  • Created:
    23/May/08 2:38 PM
    Updated:
    28/Oct/08 7:56 AM
    Resolved:
    28/Oct/08 7:56 AM

Agile

  • View on Board
  • Atlassian JIRA (v5.2.1#813-sha1:277a546)
  • Report a problem
  • Powered by a free Atlassian JIRA open source license for Grails project. Try JIRA - bug tracking software for your team.