gorm - Boolean value is not showing in Linux environment using Grails -


i using grails 2.4.0.and create application , deploy on linux.

my domain

class userdetails {    string  userenvironment =   ""   long  userid          =   0l   boolean accountcreated  =   false   integer retries         =   0   string  password        =   ""   boolean accountcreationinprogress = true   static constraints = {     accountcreationinprogress nullable : true  }  } 

when saving working fine on windows.but accountcreated , accountcreationinprogress column blank on linux. why don't know.

anyone please me out.

change to:

class userdetails {      stringuserenvironment = ""     longuserid= 0l     boolean accountcreated= false     integer retries = 0     stringpassword= ""     boolean accountcreationinprogress = true      static constraints = {     //there no point use nullable accountcreationinprogress if set default true value during create     }  } 

remember drop table in database before rerun of app.


Comments

Popular posts from this blog

sublimetext3 - what keyboard shortcut is to comment/uncomment for this script tag in sublime -

java - No use of nillable="0" in SOAP Webservice -

ubuntu - Laravel 5.2 quickstart guide gives Not Found Error -