This content has been marked as final.
Show 2 replies
-
1. Re: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.JDB
juha Jan 8, 2004 5:34 AM (in response to hlehtimaki)Browsing 3.2.4 RC1 codebase I find that class in a different package:
package org.jboss.ejb.plugins.cmp.jdbc.keygen; import ... /** * Create command that uses an SQL statement to generate the primary key. * Typically used with databases that support sequences. * * @author <a href="mailto:loubyansky@hotmail.com">Alex Loubyansky</a> * * @version $Revision: 1.1.2.2 $ */ public class JDBCPkSqlCreateCommand extends JDBCInsertPKCreateCommand {
Same thing in the 3.2.3 standardjbosscmp-jdbc.xml:
<entity-command name="mysql-get-generated-keys" class="org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCMySQLCreateCommand"/>
3.2.1 had this:
<entity-command name="mysql-get-generated-keys" class="org.jboss.ejb.plugins.cmp.jdbc.mysql.JDBCMySQLCreateCommand"/>
So copy over won't work, or you will have to modify the package name at least. -
2. Re: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.JDB
hlehtimaki Jan 8, 2004 6:53 AM (in response to hlehtimaki)Thanks, Juha. I just figured that out myself too.