Details
-
Type:
Sub-task
-
Status:
Closed
-
Priority:
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
- All
- Comments
- Work Log
- History
- Activity
- Git Commits