File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
Win a copy of Clojure in Action this week in the Clojure forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Question about CMP and abstract schema

 
Surasak Leenapongpanit
Ranch Hand
Posts: 341
  • 0
  • 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
  • 0
  • 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".
 
I agree. Here's the link: http://aspose.com/file-tools
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic