Re: xdoclet - many-to-one ignores lazy=false
Konstantin Priblouda <[email protected]> Tue, 26 May 2009 22:47:54 -0700 (PDT)
| Newsgroups | gmane.comp.java.xdoclet.user |
|---|---|
| Message-ID | <[email protected]> |
Migrate to XDoclet 2 , its plugins are in way better shape and still suppro= ted. http://xdoclet.codehaus.org regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- JTec quality components: http://www.pribluda.de/projects/ --- On Tue, 5/26/09, Dora Potluri <[email protected]> wrote: > From: Dora Potluri <[email protected]> > Subject: Re: [Xdoclet-user] xdoclet - many-to-one ignores lazy=3Dfalse > To: [email protected] > Date: Tuesday, May 26, 2009, 11:50 PM > = > I also tried lazy=3D"false", and it ignores that as > well.=A0 = > = > Here is what got generated in the hbm file > = > My mistake of posting it without quotes.=A0 Even with > Quotes, it ignores it. = > = > = > = > Here is what got generated at the end > = > = > = > =A0=A0=A0 <many-to-one > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 name=3D"myothertable" > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 class=3D"myothertable" > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 cascade=3D"none" > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 outer-join=3D"auto" > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 update=3D"false" > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 insert=3D"false" > = > =A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 column=3D"other_table_pk" > = > =A0=A0=A0=A0=A0=A0=A0 /> > = > = > = > As you can see lazy is ignored. > = > Any help is greatly appreciated. > = > Thx! > = > = > On Tue, May 26, 2009 at 2:34 PM, > Dora Potluri <[email protected]> > wrote: > = > = > = > I am using xdoclet 1.2.3 and hibernate 3.0.=A0 I am using > many-to-one annotation like the following > = > = > = > /** > =A0=A0=A0 =A0* @hibernate.many-to-one cascade=3D"none" > column=3D"other_table_pk" insert=3D"false" > update=3D"false" lazy=3Dfalse fetch=3D"join" = > = > =A0=A0=A0 =A0*/ > = > I wanted the other relationship fetched so i set the > lazy=3Dfalse.=A0=A0 Regardless of what options i use, lazy=3Dfalse > attribute is ignored.=A0=A0 The resulting hbm files does not > have that. = > = > I have seen discussion in the previous version of xdoclet, > but has anyone have an idea on how to fix this in Hibernate > 3.0 with xdoclet 1.2.3? = > = > = > = > = > btw: hibernate version is set to 3.0 in build.xml to ensure > 3.0 compatibility. > = > Any help is greatly appreciated. > = > Thx! > = > = > = > = > = > -----Inline Attachment Follows----- > = > -------------------------------------------------------------------------= ----- > Register Now for Creativity and Technology (CaT), June 3rd, > NYC. CaT = > is a gathering of tech-side developers & brand > creativity professionals. Meet > the minds behind Google Creative Lab, Visual Complexity, > Processing, & = > iPhoneDevCamp as they present alongside digital > heavyweights like Barbarian = > Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com = > -----Inline Attachment Follows----- > = > _______________________________________________ > xdoclet-user mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/xdoclet-user > = = ---------------------------------------------------------------------------= --- Register Now for Creativity and Technology (CaT), June 3rd, NYC. CaT = is a gathering of tech-side developers & brand creativity professionals. Me= et the minds behind Google Creative Lab, Visual Complexity, Processing, & = iPhoneDevCamp as they present alongside digital heavyweights like Barbarian = Group, R/GA, & Big Spaceship. http://p.sf.net/sfu/creativitycat-com =