This is my model.
class Review {
String review
Date date
int numberOfComments
String status
static belongsTo = [game:Game, user:User]
static hasMany=[comment:Comment]
static mapping ={
numberOfComments defaultValue: "0"
review type: 'text'
}
static constraints = {
}
when I inputted 400 character text it generated this error
I don't know why the review type: 'text' is not working. can someone help?