I wasn't aware that the mysql driver was included with the Cocoon distro.

To add a new driver put the driver JAR file in your <webapp-root>/WEB-INF/lib directory,
declare the driver in web.xml and define the datasource in cocoon.xconf if you haven't done
so already.


HTH
Adam

On 1 Apr, 2005, at 11:19 PM, Mygrp wrote:

hi,

i get the following exception when trying to connect to mysql db using jdbc.
java.lang.AbstractMethodError:
org.gjt.mm.mysql.Connection.createStatement(II)Ljava/sql/Statement;


This error is seen only when i use
stmt = con.createStatement(ResultSet.TYPE_SCROLL_SENSITIVE,ResultSet.CONCUR_RE AD_ONLY);


No error is seen for stmt = con.createStatement()

Is this because cocoon mysql driver does not support
TYPE_SCROLL_SENSITIVE and CONCUR_READ_ONLY.

How can the driver be updated? which directory should it be updated?

thanks in advance
md

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to