I also did see these errors recently.
first thing I would do to enable debugging on the DriverManager
java.sql.DriverManager.setLogStream(java.lang.System.err)
the reason is basically that the driver manager registers the driver
on per class-loader base.
what happens if you put mysql driver in the classpath and NOT
requiring ‘jdbc-mysql’ gem ?
does it work if you just load the driver class before going to the
DriverManager like
java.lang.Thread.currentThread.getContextClassLoader().loadClass(“com.mysql.jdbc.Driver”,
true).newInstance
another trick which worked for the dataobjects project was using
java_import “com.mysql.jdbc.Driver”
after requiring ‘jdbc/mysql’
maybe something helps, Kristian
2009/10/14 Luiz Fernando Signorelli Gonçalves [email protected]:
Every time I get the same error:Â NativeException - java.sql.SQLException: No
Hi Luiz,
require ‘jruby’
MySQL database.
I’m
–
Kristian Meier + Saumya Sharma + Sanuka Meier
Vadakkethu House,
Edayanmula West PO - 689532,
Pathanamthitta District, Kerala, INDIA
tel: +91 468 2319577
protect your privacy while searching the net: www.ixquick.com
_=_
q(-_-)p
'_) (_`
/__/ \
_(<_ / )_
(__\_\_|_/__)
To unsubscribe from this list, please visit:
http://xircles.codehaus.org/manage_email