2 Replies Latest reply on Sep 22, 2005 4:49 PM by Jim

    No support for @ejb.pk XDoclet Tag??

    Jim Newbie

      It appears that the DTD for the jbosscmp-jdbc.xml document does not support the use of the @ejb.pk XDoclet tag. Specifically, I cannot get the element <prim-key-class> to appear in the document because the DTD doesn't mention it.

      Please correct me if I am wrong. If I'm right, I'd like to know why <prim-key-class> is not supported. In my case, use of an unknown primary key is pretty heavy handed when all I want to do is assure type safety by using a primary key class.

      If using an unknown primary key is my only option, I would very much appreciate finding out how I am supposed to write my XDoclet finder methods and how I'm supposed to handle finding an entity bean by its primary key when using an unknown primary key. I've tried finding some resource that gives me code examples but I've failed to find any. What I do find is lots of xml examples.


      Environment: Windows XP Professional, JBoss 4.0.2, Hypersonic DB