This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes how to know the table name in CMP Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "how to know the table name in CMP" Watch "how to know the table name in CMP" New topic
Author

how to know the table name in CMP

Amarender Reddy
Ranch Hand

Joined: May 12, 2005
Posts: 54
hi,
i'm new to EJB tech.
im woking on an enhancement prj. for a singapore client.
plz do clear my doubt regarding finder methods.

how should i know which table the findByPrimaryKey method in CMP is referring to?

since in CMP logic impl. is done by the container how can one establish the table name?

kindly help.

thanks in advance
Paul Sturrock
Bartender

Joined: Apr 14, 2004
Posts: 10336

Look in the deployment descriptor for the bean.


JavaRanch FAQ HowToAskQuestionsOnJavaRanch
 
Have you checked out Aspose?
 
subject: how to know the table name in CMP
 
It's not a secret anymore!