Thanks David, but I've been that route too (you're seeing some scatterd remnants of various experiments).
I get a deployment message that "field id must be of same type". Same type as what would be nice to know. I'll make everything match up both ways though and give it another go.


Harkness, David wrote:

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_______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user






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

Reply via email to