Mistery solved.

I did go looking at the code and found that the name value pair for class
should be class="String" and not name="String"

Until next time.
C.


-----Original Message-----
From: Clarance Howatt 
Sent: Thursday, September 13, 2001 9:23 AM
To: '[EMAIL PROTECTED]'
Subject: Problems with Primary key generation in latest version of
XDoclet


I have been working with a version of XDoclet that I checked out of CVS
about 10 days ago.  I have found that it works well and we have decided to
use it in our project (Hooray).  This morning at 8:50 MST I decided to get
the latest source from CVS.  I built the project that I have been using for
my evaluation and got the following errors:

ejb\sequencegenerator\sequenceHome.java:28: cannot resolve symbol
    [javac] symbol  : class sequencePK
    [javac] location: package lang
    [javac]    public test.interfaces.Sequence
findByPrimaryKey(java.lang.sequencePK pk)
    [javac]                                                              ^

Now I remind you that this was and is working in a version of the software
that is just 10 days old.  I did not, nor do I want to have a primary key
class generated.  What I want is to use java.lang.String as the primary key.
XDoclet generated this finder in the home interface:
   public test.interfaces.Sequence findByPrimaryKey(java.lang.sequencePK pk)
      throws java.rmi.RemoteException,javax.ejb.FinderException;

I have not defined the findByPrimaryKey in any file but I have defined a
primary key for this bean that looks like this:
   @ejb:pk name="String" package="java.lang" generate="false"

Again, This was working only a few days ago.  I am still pretty new at this
stuff so if I am doing something wrong please tell me.  I have not gone
digging in the source to determine what exactly the problem is.  I was
hoping one of you would be able to tell me in a flash.

C.

_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to