{"author_name":"yuheiomori0718","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fy0m0r.hateblo.jp%2Fentry%2F20090312%2F1236756762\" title=\"PERSISTENCE OF COLLECTIONS OF BASIC TYPES\u3092\u8a66\u3059 - \u30e1\u30e2\u7f6e\u304d\u5834\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","blog_url":"https://y0m0r.hateblo.jp/","width":"100%","title":"PERSISTENCE OF COLLECTIONS OF BASIC TYPES\u3092\u8a66\u3059","published":"2009-03-12 16:32:42","image_url":null,"provider_name":"Hatena Blog","description":"grails-1.1\u306e\u65b0\u6a5f\u80fd\u3092\u8a66\u3059\u3002hasMany\u306bString\u3068\u304b\u666e\u901a\u306e\u30af\u30e9\u30b9\u3092\u6307\u5b9a\u3059\u308b\u3002 class Person { static constraints = { name() email() } static hasMany = [nickNames:String] String name String email } \u3053\u306e\u30c9\u30e1\u30a4\u30f3\u30af\u30e9\u30b9\u3067\u3001\u4ee5\u4e0b\u306e\u30c6\u30fc\u30d6\u30eb\u304c\u4f5c\u3089\u308c\u308b\u3002 mysql> desc person; +---------+--------------+------+-----+---------+----------------+ | Field | Type | Null |\u2026","url":"https://y0m0r.hateblo.jp/entry/20090312/1236756762","height":"190","version":"1.0","categories":["grails"],"type":"rich","author_url":"https://blog.hatena.ne.jp/yuheiomori0718/","blog_title":"\u30e1\u30e2\u7f6e\u304d\u5834","provider_url":"https://hatena.blog"}