Hi,
I’m developing a CMP bean on jboss 3.0.7. My bean start like this:
/**
*
* @ejb.bean name = “SocietaBean”
* type = “CMP”
* cmp-version = “2.x”
* display-name = “SocietaBean”
* description = “Description”
* view-type = “both”
* jndi-name = “ejb/im6/applicativo/SocietaBean”
* local-jndi-name = “ejb/im6/applicativo/SocietaLocalBean”
* primkey-field = “codice”
*
*
* @jboss.persistence table-name = “TSOCIETA”
*
* @ejb.pk class=”java.lang.String”
*
* @ejb:util generate=”physical”
*
*
* @ejb.finder signature=”Collection findAll()”
* unchecked=”true”
* query=”select OBJECT(o) from SocietaBean o”
*/
public abstract class SocietaBean implements EntityBean {
…other stuff…
}
The jbosscmp-jdbc.xml file generated by xdoclet doesn’t contain the item <table-name>TSOCIETA</table-name>.
How can I get the item generated?
I use:
MyEclipse Enterprise Workbench 2.5.1
Eclipse 2.1.1 Build 200306271545
Java SDK 1.4.1
Thanks all.[/quote]