The default mapping for a Map in Grails 2.0.0 only allows strings of less than 255 characters in the value field and I need more.
我显然可以把我的地图改成一个用户界定的关键/价值实体的手册,但我正在把一个大型项目从1.3.7,其中有许多地图,希望以一个改动来解决这个问题。
I have read in two other StackOverflow questions (here and here) that to change this I need to "involve a custom handler for Hibernate for the HashMap type", but where and how exactly do I do this?
我在标准铁路中找不到任何东西。