I am using CMP in
jboss for my application with Postgresql. In the jbosscmp-jdbc.xml file, I have:
<entity>
<ejb-name>Some
ejb</ejb-name>
<table-name>some table</table-name>
<cmp-field>
<field-name>some field</field-name>
<column-name>some column</column-name>
</cmp-field>
<unknown-pk>
<unknown-pk-class>java.lang.Integer</unknown-pk-class>
<auto-increment/>
</unknown-pk>
<entity-command name="postgresql-get-generated-keys" class="org.jboss.ejb.plugins.cmp.jdbc.postgres.JDBCPostgresCreateCommand">
</entity-command>
<!-- jboss 3.2 features -->
<!-- optimistic locking does not express the exclusions needed -->
</entity>
This works for jboss 3.2.1, but seems to have changed for 3.2.3 as I get a class not found exception for the JDBCPostgresCreateCommand. Something seems to have changed, but I don't have the documentation as to how to fix it.
Can anyone help?
Thanks,
G