Hi there -
I'm still having problems writing templates - hope someone can help..
In my EJB class (the EJB is called "Gebruiker") I have the following xdoclet tags:
@ejb:bean name="Gebruiker" type="CMP" primkey-field="userId"
@ejb:pk class="java.lang.Integer"
And in my template I am trying to construct a line of java source such as:
public GebruikerData getGebruiker(Integer id) {
The template I'm writing so far is this:
public <XDtEjb:ejbName/>Data get<XDtEjb:ejbName/>(<XDtEjbPk:pkClass/> <XDtEjbPk:pkfieldList/>) {
And this is producing the output:
public GebruikerData getGebruiker(java.lang.Integer ) {
So - I can't seem to get hold of the *name* of the primary key (just the one, "id" in this case). I can see in the documentation that there are extra EjbPk tags such as "primkeyField" and "primkeyGetter" but these methods don't exist in my xdoclet.jar-->xdoclet.ejb.tags.PkTagsHandler (I suppose I have an old version..?)
I decompiled the xdoclet.ejb.tags.PkTagsHandler that I do have, and the pkfieldList method is looking for an xdoclet-tag "ejb:pk-field", but if I add one to my EJB source - still no luck...
thanks,
Mike O'C
