Hi,
if I try the ojb 0.9.9 with db2 I had following error:
java.lang.AbstractMethodError:
COM/ibm/db2/jdbc/app/DB2DatabaseMetaData.supportsBatchUpdates
The problem was, that the jdbc driver has no method suprotsBatchUpdates
in Class DB2DatabaseMetaData.
The Method is called in:
org.apache.ojb.broker.platforms.PlatformDefaultImpl
The resolution is (or work around) to add following code to
'org.apache.ojb.broker.platforms.PlatformDb2Impl':
public void checkForBatchSupport(Connection conn)
{
//log.info("checkForBatchSupport");
}
public boolean supportsBatchOperations()
{
return false;
}
regards
Matthias
Matthias Roth
Dipl. Ing. HTL
in Wirtschaftsinformatik
impart Software Engineering GmbH
Chasseralstrasse 13
Postfach
CH-3063 Ittigen
Phone +41 (0)31 922 39 25
Fax +41 (0)31 922 39 18
EMail mailto:[EMAIL PROTECTED]
Homepage http://www.impart.ch
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]