Details
Description
The Castor JDO 0.9.6 Identity key generator class "org.exolab.castor.jdo.drivers. IdentityKeyGenerator" does not work with IBM DB2 v6.
The current SQL statement used by inner class DB2Type is :
private class DB2Type extends AbstractType {
Object getValue(Connection conn, String tableName) throws PersistenceException
}
However, this statement only seems to work with IBM UDB v7 and v8. It does not work with IBM DB2 v6.
The following SQL statement seems to work with IBM UDB and IBM DB2
private class DB2Type extends AbstractType {
Object getValue(Connection conn, String tableName) throws PersistenceException
}
I suggest revising the SQL statement to the latter version. which works with UDB and DB2.
A patch file containing the revision is attached.
Tim, thanks for the patch. I'll look into this a.s.a.p.