This week's book giveaways are in the Scala and Android forums.
We're giving away four copies each of Machine Learning Systems: Designs that scale and Xamarin in Action: Creating native cross-platform mobile apps and have the authors on-line!
See this thread and this one for details.
Win a copy of Machine Learning Systems: Designs that scale this week in the Scala forum
or Xamarin in Action: Creating native cross-platform mobile apps in the Android forum!
  • 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
Howdy.

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)?
 
The human mind is a dangerous plaything. This tiny ad is pretty safe:
Rocket Oven Kickstarter - from the trailboss
https://coderanch.com/t/695773/Rocket-Oven-Kickstarter-trailboss
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!