aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Question about CMP and abstract schema Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Question about CMP and abstract schema" Watch "Question about CMP and abstract schema" New topic
Author

Question about CMP and abstract schema

Surasak Leenapongpanit
Ranch Hand

Joined: May 10, 2002
Posts: 341
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

Joined: Mar 12, 2004
Posts: 51
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".


--------------<br />Sany Bel<br />SCJP 1.4, SCBCD
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Question about CMP and abstract schema