hi all, i'm trying to find the right entity command for jboss 3.2.1 and sql server
2005.
I've tried already several possibilities in standardjbosscmp-jdbc.xml, but currently
i've got only one that works (but not completely):
anonymous wrote : <entity-command
| name="get-generated-keys"
class="org.jboss.ejb.plugins.cmp.jdbc.jdbc3.JDBCGetGeneratedKeysCreateCommand"
/>
if i use this one, the row gets inserted in my table (with DB-generated identity), but
later on in my application, i can not retrieve the ID.
therefore, i tried others, but almost every other gives a "could not load class
exception"...
anonymous wrote : <!--<entity-command
| name="mssql-fetch-key"
class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand"
/>-->
| AND ALSO THIS ONE:
| <entity-command
| name="mssql-fetch-key"
class="org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand " />
error when starting up jboss:
anonymous wrote : 15:12:43,304 ERROR [URLDeploymentScanner] MBeanException: Exception in
MBean operation 'checkIncompleteDeployments()'
| Cause: Incomplete Deployment listing:
| Packages waiting for a deployer:
|
| Incompletely deployed packages:
|
| MBeans waiting for classes:
|
| MBeans waiting for other MBeans:
| [ObjectName: jboss.j2ee:jndiName=LocalBridgeTypeEJB,service=EJB
| state: FAILED
| I Depend On:
| Depends On Me: org.jboss.deployment.DeploymentException: Could not load class:
org.jboss.ejb.plugins.cmp.jdbc.JDBCIdent
| ityColumnCreateCommand , ObjectName: jboss.j2ee:jndiName=LocalHullTypeEJB,service=EJB
so first I would like to know the jar file where the org.jboss.ejb.plugins.cmp.* is
located.... I think i've already opened every jar file in the jboss installation, but
i don't find it.
anyone more experience with this?
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044992#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...