This week's book giveaway is in the Performance forum.
We're giving away four copies of The Java Performance Companion and have Charlie Hunt, Monica Beckwith, Poonam Parhar, & Bengt Rutisson on-line!
See this thread for details.
Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about CMP and abstract schema

 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi all,
I'm new in developing CMP entity EJBs.
My basic question is how can I associate an abstract schema to a specific table in the DB?
I know by EJB QL queries I refer to abstract schema in the FROM clause, but how does container know which phisical table I refer to?
Thank you.
 
Sany Bel
Ranch Hand
Posts: 51
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You do the bean name to table mapping in container provided configuration files. For eg., if you are using weblogic, you would do that in "weblogic-cmp-rdbms-jar.xml".
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic