Grails

Reading objects with null values for primitive column types (i.e. int) results in exceptions even if nullable: true