I'm having the following problem with grails' 1.2.1 domain classes:
Wh开发者_高级运维en I set a constraint attr(nullable:true) and attr is int or bool, this condition isn't reflected in the db (postgresql 8.4). However, if attr is a String, the DB is consistent with the situation.
Any hints ?
Thanks
You should use Integer and Boolean if you're using the nullable constraint.
精彩评论