问题
Why i can't create table List to my database?
my domain class :
class Test {
List<String> names
}
回答1:
This is the supported syntax:
class Test {
static hasMany = [names: String]
}
来源:https://stackoverflow.com/questions/15170540/grails-create-table-liststring-name