is there a required for the generation of xxxValue objects that the pk of "xxx" entity must be xxxPK? in xxxBean, i specified that i wanted to use java.lang.String as a primary key, as follows:



public abstract class BaseEntityBean {

/**
* @ejb.pk-field
* @ejb.interface-method
* @ejb.persistence column-name="id"
*/
public abstract String getId( );

/**
* @ejb.interface-method
*/
public abstract void setId( String id );

}



/**
* @ejb.value-object match="*" name="xxx"
* @ejb.pk generate="false"
*/
public abstract class xxxBean extends BaseEntityBean implements EntityBean {

...
}


but when i do this, i get the following error during compilation:

[javac] xxxValue.java:39: Cannot resolve reference.
[javac] Reference: Class xxxPK
[javac] private xxxPK pk;


apparently, even though i specified that the pk should not be generated (since using java.lang.String), the xxxValue object is still looking for xxxPK.

any suggestions?

thank you.




-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to