In 3.2.2 the infrastructure for generating primary keys
for uses with unknown-pk EJBs has been refactored to
simplify per-vendor implementations and reduce the
number of inconsistencies between them.
As a result, all implementations have moved into a
single keygen package. standardjbosscmp-jdbc.xml has
been updated to reflect this, but custom configurations
which specify the classes may need to be modified.
Available implementations are:
which uses a key generation MBean
JDBCPkSqlCreateCommand which uses an SQL statement to
generate the key
JDBC30GeneratedKeysCreateCommand which uses the JDBC3.0
JDBCHsqldbCreateCommand which uses an hsqldb IDENTITY
JDBCInformixCreateCommand which uses an Informix SERIAL
JDBCMySQLCreateCommand which uses a MySQL
JDBCPostgreSQLCreateCommand which uses the PostgreSQL oid
JDBCSQLServerCreateCommand which uses a Microsoft SQL
Server IDENTITY column and SCOPE_IDENTITY()
JDBCSybaseCreateCommand which uses a Sybase IDENTITY
column and @@IDENTITY
all in the org.jboss.ejb.plugins.cmp.jdbc.keygen
package. See standardjbosscmp-jdbc.xml for additional
Log in to post a comment.