bob combs wrote:
> I'm having quite a time attempting to use a CMP bean with a custom PK
> class w/ support in the value object. I'm sure I'm missing something
> fairly simple.
>
> [...]
>
> In the Bean xdoclet
>
> /**
> * @ejb.bean name="Message"
> * pk-field="id"
^^
> **/
>
> [...]
>
> public abstract com.messagegate.foundation.id.UUID getUUID();
I believe this is the problem, and it should cause problems with the CMP
bean itself regardless of the VO. You either need to change the tag to
pk-field="UUID"
or change the accessor pair to
public abstract com...UUID getId();
Keep in mind that there are issues with CMP fields that begin with two
or more capital letters. I would recommend going the latter route (name
the field "id") to avoid further problems and to follow convention.
David Harkness
Sr. Software Engineer
Sony Pictures Digital Networks
(310) 482-4756
-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
_______________________________________________
xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user