Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

change findByPrimaryKey  RSS feed

 
Joris De Winne
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Is it possible to change the findByPrimaryKey method in an entity bean based on CMP. I tried to implement the method, but that is not allowed. I also tried to define some EJB-QL for the method, but that is not working.
Any suggestions are welcome even if the answer is that it's not possible.
thnx
 
varanasir
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi,
In CMP, implementation of findByPrimary is the responsibility of the container. You cannot change it.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!