Grails problem with nullable contraint in domain class
Posted
by xain
on Stack Overflow
See other posts from Stack Overflow
or by xain
Published on 2010-05-07T19:01:33Z
Indexed on
2010/05/07
19:38 UTC
Read the original article
Hit count: 165
grails
Hi, I'm having the following problem with grails' 1.2.1 domain classes:
When 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
© Stack Overflow or respective owner