• 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".
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!