--- Andreas Kemkes <[EMAIL PROTECTED]> wrote:
> I'm trying to get my feet wet with the XDoclet
> Hibernate Example of the 
> XDoclet1.2/12-19-03 distribution and ran in a few
> problems:
> 
> (1)   In Animal.java:
> 
>        * @hibernate.collection-many-to-many
>        *  column="PREY_ID"
> 
> This tag does not have an explicit class parameter,
> which is not 
> mandatory, but the resulting hibernate mapping
> contains:
> 
>             <many-to-many
>                 class=""
>                 column="PREY_ID"
>                 outer-join="auto"
>             />

Just specify class... XDoclet 1.2 has "implicit"
mandatoriness. This means, if you miss required
parameter you will ne hear anything, but it will still
fail. 

Upcoming  xdoclet 2 is better on this - it will bomb 
with clear message and even place where bullshit lives
:) 

While it's still aplha, I already use it in
production. 
It covers about 80% of hibernate mapping elements, 
and rest can be added quickly ( jelly scripts modelled
after hibernate dtd ) 

And it's also faster. 

regards,

=====
----[ Konstantin Pribluda ( ko5tik ) ]----------------
Zu Verst�rkung meines Teams suche ich ab Sofort einen
Softwareentwickler[In] f�r die Festanstellung. 
Arbeitsort: Mainz 
Skills:  Programieren, Kentnisse in OpenSource-Bereich
----[ http://www.pribluda.de ]------------------------

__________________________________
Do you Yahoo!?
Yahoo! Finance: Get your refund fast by filing online.
http://taxes.yahoo.com/filing.html


-------------------------------------------------------
The SF.Net email is sponsored by EclipseCon 2004
Premiere Conference on Open Tools Development and Integration
See the breadth of Eclipse activity. February 3-5 in Anaheim, CA.
http://www.eclipsecon.org/osdn
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to