Details

    • Type: Sub-task Sub-task
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.0.3
    • Fix Version/s: 1.1-beta1
    • Component/s: Persistence
    • Labels:
      None

      Description

      Currently, you cannot have a version property on a domain class because the column used for optimistic locking is not configurable.

      For example, I would like to be able to do...

      class Groovy
      {
          static mapping = {
              version 'revision'
          }
          String version
          Date released
      }
      

      Which instructs gorm to use the 'revision' column for optimistic locking purposes.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Graeme Rocher
            Reporter:
            Luke Daley
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development