Karsten Jahn wrote:
Not really...

The PK is unknown (generated by MySQL / JBoss). Working with an unknownPK
the ClassTag has to be like this:
 * @ejb.pk class = "java.lang.Object"

And when I run XDoclet now, it thinks that's a class it has to generate.
But, well, I don't want that standard class to be overwritten...

Which application server are You using? In most cases (I have experience with JBoss and Sun ONE Application Server) Xdoclet needs some more info in order to properly generate all the classes.


And, btw, if You want to have "unknown" PK, according to the EJB specification, You don't need the PK get/set methods in Your bean class. You just have to specify that the PK is unknown and provide container with some additional info about database mapping (with, for example @jboss.unknown-pk tag)

It may be a good idea to post Your code here so we can help You.

Kindest regards,
Damjan S. Vujnovic


------------------------------------------------------- This SF.net email is sponsored by: The Robotic Monkeys at ThinkGeek For a limited time only, get FREE Ground shipping on all orders of $35 or more. Hurry up and shop folks, this offer expires April 30th! http://www.thinkgeek.com/freeshipping/?cpg=12297 _______________________________________________ xdoclet-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/xdoclet-user

Reply via email to