If you haven't done so, take a look at the jbosscmp-jdbc.xml descriptor file. In it, there is a element called <create-table> and <remove-table> which you can specify whether you want JBoss CMP to automatically create or remove the tables for you. The default value for them is true.
This stuff is documented in the JBossCMP 2.0 documentation written by Dain Sundstrom.
Hope this help,
Ok. Found the <create-table> field. What field does JBoss use for telling it the table name to interact with? I was under the impression that it was the abstract-schema field. However if this were the case JBoss should have created a table called sequence, not sequenceentity. Does JBoss use another field like ejb-name or something as the table name? Is this standard?
I'll get the CMP Docs. Tried the other night and the site was flaky (couldn't register/place orders).
There are no standards for EJB to SQL mapping. JBoss curently uses the ejb-name for the default table name, as abstract schema name is not required.