Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

how to know the table name in CMP

 
Amarender Reddy
Ranch Hand
Posts: 54
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 10336
Eclipse IDE Hibernate Java
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Look in the deployment descriptor for the bean.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic