Hmmm ... Well I could upgrade to XDoclet 2 I guess. Is hibernate.composite-element an XDoclet 2 tag? As opposed to hibernate.collection-composite-element?

At any rate, could you expand a bit on how to do what you suggested? I don't really understand what "map composite element properties on element itself
instead on his property in entity" means. Are you saying to put tags in the ModulePiece class? I thought that you weren't supposed to do this for a class that isn't a busines object, like Module and Piece are.

Anyway, if you could give me an example that would be great!

Thanks,
Bob


Aussuming you use
XD2 plugin, I would propose to
map composite element properties on element itself
instead on his property in entity.

Konstantin Priblouda <[EMAIL PROTECTED]> wrote:


--- Robert Bowen <[EMAIL PROTECTED]> wrote:

> Hello all.
>
> I am trying to generate the following mapping:
>
>
> cascade="all" lazy="true">
>
>
>
> class="com.mycompany.model.Piece />
>
>

>

>
> 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


Yahoo! Mail goes everywhere you do. Get it on your phone.

Reply via email to