tag:blogger.com,1999:blog-3778768890472614719.post6386482532594694142..comments2023-07-12T16:43:12.343-07:00Comments on SWWOMM: Grails Foreign ID GeneratorJustin Ludwighttp://www.blogger.com/profile/03245749869056259124noreply@blogger.comBlogger7125tag:blogger.com,1999:blog-3778768890472614719.post-53990428909724022592016-10-04T06:26:51.885-07:002016-10-04T06:26:51.885-07:00Thank you for your post from 2016:)Thank you for your post from 2016:)allnightlonghttps://www.blogger.com/profile/11670024539831140098noreply@blogger.comtag:blogger.com,1999:blog-3778768890472614719.post-25365759698479200652016-08-30T05:20:50.866-07:002016-08-30T05:20:50.866-07:00Super! Thanks a lot for your great post! Searched ...Super! Thanks a lot for your great post! Searched a lot and after a long time, eventually, I found this post. :-)Sew-sihttps://www.blogger.com/profile/04437146555927679700noreply@blogger.comtag:blogger.com,1999:blog-3778768890472614719.post-45307873902474098552013-03-22T12:25:39.525-07:002013-03-22T12:25:39.525-07:00Thx for the post, It works!Thx for the post, It works!Juan Camilohttps://www.blogger.com/profile/04293329883157429649noreply@blogger.comtag:blogger.com,1999:blog-3778768890472614719.post-7046659229755555902012-05-21T15:11:19.074-07:002012-05-21T15:11:19.074-07:00Just experienced there is a price to pay for one-t...Just experienced there is a price to pay for one-to-one using Hibernate: Good Bye lazy loading. From JBoss Community <a href="https://community.jboss.org/wiki/SomeExplanationsOnLazyLoadingone-to-one" rel="nofollow">Some explanations on lazy loading (one-to-one)</a>Reiner Saddeyhttps://www.blogger.com/profile/11280091287798778739noreply@blogger.comtag:blogger.com,1999:blog-3778768890472614719.post-25028795459936651782012-05-18T07:35:57.697-07:002012-05-18T07:35:57.697-07:00Hi Justin,
at first, I kind of frowned at "i...Hi Justin,<br /><br />at first, I kind of frowned at "id column: 'primary_id'" (where does the id column go?). But then, it just works as intended!<br /><br />Plays nicely with SQL server: The primary key is used both as as a "clustered index" (i.e. rows are stored within the primary index) and at the same time supporting the foreign key constraint, avoiding any artificial overhead introduced by separate foreign key columns and/or indexes.<br /><br />Great work! Thank you,<br />ReinerReiner Saddeyhttps://www.blogger.com/profile/11280091287798778739noreply@blogger.comtag:blogger.com,1999:blog-3778768890472614719.post-8880216768349474572012-03-29T06:56:39.838-07:002012-03-29T06:56:39.838-07:00Thank you, thank you, thank you. I have been stru...Thank you, thank you, thank you. I have been struggling for 3 days to get my domain classes defined correctly to reflect the one-to-one relationship in my data model. I finally found the "foreign" generator type, and searching for examples of that led me to this blog post. It was perfect. My precise situation was ever so slightly different, so I still struggled just a bit to translate your example to my situation. But, I eventually did, and it works, and I never would have gotten to that point without this excellent blog.<br /><br />Thank you!!Andrewhttps://www.blogger.com/profile/10571752740496934828noreply@blogger.comtag:blogger.com,1999:blog-3778768890472614719.post-12812790889675686002011-09-19T07:47:10.576-07:002011-09-19T07:47:10.576-07:00Nice, tks.Nice, tks.Felipe Nascimentohttps://www.blogger.com/profile/14728022215184550629noreply@blogger.com