Re: JDBC driver and CachedRowSet error: No suitable driver
Posted by: Mark Matthews
Date: April 26, 2005 10:36AM

Thomas Mayr wrote:
> Hello,
>
> I'm trying to update and store changes made in a
> cached row set (class CachedRowSet) from SUN's
> reference implementation (jdbc_rowset1.0prd2-ri)
> with an updatable result set created from the
> MySQL
> JDBC driver version 3.1.8. When the method
> acceptChanges() is called an SQL exception with
> the
> error message "No suitable driver" is thrown. Are
> there any intensions by MySQL to make the driver
> suitable?
>
> Regards Thomas

Thomas,

No suitable driver means that the driver manager can't find a driver that matches the URL, which either means the URL has a syntax error, or the classloader can't find the classes for the JDBC driver in question.

I'm sorry, but without further information, I would have to say that this is a CachedRowset bug. How are you trying to update the rowset? Is it disconnected?

-Mark

Mark Matthews
Consulting Member Technical Staff - MySQL Enterprise Tools
Oracle
http://www.mysql.com/products/enterprise/monitor.html

Options: ReplyQuote


Subject
Written By
Posted
Re: JDBC driver and CachedRowSet error: No suitable driver
April 26, 2005 10:36AM


Sorry, you can't reply to this topic. It has been closed.

Content reproduced on this site is the property of the respective copyright holders. It is not reviewed in advance by Oracle and does not necessarily represent the opinion of Oracle or any other party.