--- Robert Bowen <[EMAIL PROTECTED]> wrote:
> Hello all. > > I am trying to generate the following mapping: > > <bag name="modulePieces" table="module_piece" > cascade="all" lazy="true"> > <key column="id_module" /> > <composite-element class="ModulePiece"> > <many-to-many column="id_piece" > class="com.mycompany.model.Piece /> > <property name="quantity"/> > </composite-element> > </bag> > > I have tried the following xdoclet tags in my > Module.java class, just before the getModulePieces() > method: > What the heck am I doing wrong here? Aussuming you use XD2 plugin, I would propose to map composite element properties on element itself instead on his property in entity. regards, ----[ Konstantin Pribluda http://www.pribluda.de ]---------------- Still using XDoclet 1.x? XDoclet 2 is released and of production quality. check it out: http://xdoclet.codehaus.org __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ xdoclet-plugins-interest mailing list xdoclet-plugins-interest@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-plugins-interest