I have the following at the class level in my BMP entity bean.

*
* @ejb.pk
*      class="com.quest.acaiis.ejb.entity.build.BuildPK"
*

... and the following in my build.xml ...

<entitypk/>

My problem is I'm receiving the following error when building it ...

[javac] /home/projects/acaiis/src/com/quest/acaiis/ejb/dao/PostgresqlBuildDAO.java:253: cannot resolve symbol
[javac] symbol : constructor BuildPK (int)
[javac] location: class com.quest.acaiis.ejb.entity.build.BuildPK
[javac] return new BuildPK(bid);
[javac] ^


The constructors in the BuildPK generated file does not take an int as an arg, which is what I need (What gets generated is just an empty constructor). How do I add a contstructor so that the generated BuildPK file has the constructor which I call from my DAO file? I can't add it to that file as it will get wiped out the next time a new file is generated.

Any help much appreciated.


------------------------------------------------------- SF.Net email is sponsored by: Tell us your software development plans! Take this survey and enter to win a one-year sub to SourceForge.net Plus IDC's 2005 look-ahead and a copy of this survey Click here to start! http://www.idcswdc.com/cgi-bin/survey?id=105hix _______________________________________________ xdoclet-user mailing list xdoclet-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to