• Post Reply Bookmark Topic Watch Topic
  • New Topic

Xdoclet primary keys for Entity Beans in localHome  RSS feed

Ranch Hand
Posts: 130
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

After creating an Entity bean through the JBOSS-IDE EJB Components, I find that running Xdoclet on my code creates a local home that uses a specific primary key class for the primary key type of my entity. I.e. TestLocalHome is trying to use TestPK as the primary key type.

Can I change this so that it uses the field I define within TestBean as the primary key (@ejb.pk-field)?
There is no beard big enough to make me comfortable enough with my masculinity to wear pink. Tiny ad:
Thread Boost - a very different sort of advertising
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!