This is my grails version:
| Grails Version: 3.1.6
| Groovy Version: 2.4.6
| JVM Version: 1.8.0_51
I am running the code on Windows.
This is the domain class
package wxserver
class Test {
String sort
static mapping = {
version false
sort column: "SORT"
}
static constraints = {
}
}
the log shows the generated SQL DDL
Hibernate: create table Test (id bigint not null auto_increment, sort varchar(255) not null, primary key (id)) ENGINE=InnoDB
As you can see, I hope the column be uppercase, but in fact, the column is mapped to "sort", if I changed the Test property sort to "_sort" or "mSort", the DDL is correct?
Is this a bug?