1 Reply Latest reply on Nov 5, 2004 7:31 AM by Joost Kraaijeveld

    CMP bean - primary key issue

    Mark Lybarger Apprentice

      the Jboss ide doesn't seem to put the bean level tag needed
      * @ejb.pk class="Integer"

      maybe i'm doign the steps wrong. here's what i do. New -> Other -> ejb components -> "Entity Bean" , click next, add give the bean a name "User", select Both for local/remote, then finish. right click on new class object -> j2ee -> new cmp field, give it a name of "userId", and a type Integer, select primary key box, select both option (local/remote), click finish. I think there should be something at the class level like the above xdoclet tag.

      ~mark