Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

change findByPrimaryKey

Status
Not open for further replies.

joris2ee

Programmer
Feb 23, 2004
3
BE
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
 
shoudn'y findByPrimaryKey() only be defined in your home method, not in your abstract entity bean class? No, it cannot be changed.

~za~
You can't bring back a dead thread!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top