If we write an CMP - EJB 1.x, there is no tablename described in ejb-jar.xml file. Only persistence
fields are described in there, and the primary
key.
So the questions is how do the JBoss knows
the table related with the CMP-EJB ?
By using JAWS ?
Please help..
Many thanks in advance.
Yes...table names and column types would go in jaws.xml. When you decide to move to CMP2.0, these definitions would go into jbosscmp-jdbc.xml.
More details can be found in the free docs, chapter 6.