(o:
good to see you figured it out. on a general level, we've made a heap of
changes to the docs... it'd be great to get some feedback from users.
cheers
dim
On Fri, 14 Sep 2001, Dmitri Colebatch wrote:
> I have 159 emails left to read this morning...so someone may have already
> answered this, but...
>
> what you now want is
>
> @ejb:pk name="java.lang.String"
>
> XDoclet will realise that String is in the java.lang package and not
> generate it for you. You can also do
> name="foo.bar.MyPK" generate="false" or pattern="{0}PrimaryKey" and/or
> package="foo.bar.pks" - I updated the docs, I wouldn't mind if you could
> also have skim over them and see if the information there is enough.
>
> cheers
> dim
>
> On Thu, 13 Sep 2001, Clarance Howatt wrote:
>
> > 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
> >
>
>
>
> _______________________________________________
> Xdoclet-user mailing list
> [EMAIL PROTECTED]
> https://lists.sourceforge.net/lists/listinfo/xdoclet-user
>
_______________________________________________
Xdoclet-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/xdoclet-user