Browse Source

Removed 'optimistic locking' from grails so that the version column isn't created

Patrick Falls 12 years ago
parent
commit
5eaf0f31a5
1 changed files with 1 additions and 0 deletions
  1. 1 0
      grails/hello/grails-app/domain/hello/World.groovy

+ 1 - 0
grails/hello/grails-app/domain/hello/World.groovy

@@ -7,6 +7,7 @@ class World {
     }
     }
 
 
     static mapping = {
     static mapping = {
+      version false
       columns {
       columns {
         randomNumber     column:"randomNumber"
         randomNumber     column:"randomNumber"
       }
       }