Rupp, Heiko penned

> [Germán García penned]
> 
> > How do I use xdoclet when I have a composed key? I tried the
> > following, but it does not work.
> 
> put @ejb.pk-field tags on the fields that make up your pk.
> leave out the primkey-field attribute on @ejb.bean.

Also, remember to add the <entitypk/> subtask to your build file if you want XDoclet 
to generate your PK classes for you. If you've created your own, you can specify it 
with the class tag

    @ejb.pk class="your.pk.Class"

-- 
David Harkness                               Sony Pictures Digital
Sr. Software Engineer   310.482.4756    [EMAIL PROTECTED]

        Those who judge the value of advice by its source
        will at once dismiss the best and follow the worst.


-------------------------------------------------------
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to