table-name in standardjbosscmp-jdbc.xml is not working and the table being accesed (created in case of create-table=true) is always Ent1- the name of the ejb itself.
The standardjbosscmp-jdbc.xml is in the jar file along with jboss.xml and ejb-jar.xml.
<jbosscmp-jdbc>
<enterprise-beans>
<ejb-name>Ent1</ejb-name>
<table-name>mytable</table-name>
<create-table>false</create-table>
<cmp-field>
<field-name>field1</field-name>
<column-name>field1</column-name>
</cmp-field>
</enterprise-beans>
</jbosscmp-jdbc>
I am a newbie to JBOSS and am porting WLS7.0 to JBOSS.
solved it!!
figured out that i had to use jbosscmp-jdbc.xml for individual jar and not standardjbosscmp-jdbc.xml.