Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

JDBC/MYSQL/TWZ1

2 views
Skip to first unread message

Sascha Janz

unread,
Dec 27, 1999, 3:00:00 AM12/27/99
to
hi!

i am trying to use the jdbc driver twz1 for mysql, but i don't get it work.

the code :

Class.forName("twz1.jdbc.mysql.jdbcMysqlDriver").newInstance() ;

causes the following error:

Exception in thread "main" java.lang.VerifyError: (class:
twz1/jdbc/mysql/jdbcMy
sqlBase, method: isMultipleQuery signature:
(Ltwz1/jdbc/mysql/jdbcMysqlConnex;)Z
) Illegal use of nonvirtual function call
at twz1.jdbc.mysql.jdbcMysqlDriver.<init>(jdbcMysqlDriver.java)
at twz1.jdbc.mysql.jdbcMysqlDriver.<clinit>(jdbcMysqlDriver.java)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:124)
at XMLDB.Connect(XMLDB.java:17)
at XMLDB.main(XMLDB.java:66)

i am using the jdk version 1.2.2.

thanks

sascha

Jim Ridenour

unread,
Dec 27, 1999, 3:00:00 AM12/27/99
to
I wrote a free report writer in Java that I distribute. It has
examples of twz/mysql. Here is the url.

http://www.geocities.com/SiliconValley/Ridge/4280/GenericReportWriter/grwhome.html


--------
To send me email remove "REMOVETHIS" from my address.


Jinni

unread,
Dec 27, 1999, 3:00:00 AM12/27/99
to
I had problems getting this one to work, gave up and have been successfully
using mm mysql driver. If you can, you should get this and try it -- just
go the mysql web site and get it there. If you have problems with this one,
email me and I'll show you how to get it working. Oh, and if you do succeed
in getting the twz1 driver working, can you tell me how?

Jinni.

Sascha Janz <Sasch...@gmx.net> wrote in message
news:3866...@athene.hdm-stuttgart.de...

Fredy Fischer

unread,
Jan 2, 2000, 3:00:00 AM1/2/00
to
Sascha Janz wrote:

> hi!
>
> i am trying to use the jdbc driver twz1 for mysql, but i don't get it work.
>
> the code :
>
> Class.forName("twz1.jdbc.mysql.jdbcMysqlDriver").newInstance() ;
>
> causes the following error:
>
> Exception in thread "main" java.lang.VerifyError: (class:
> twz1/jdbc/mysql/jdbcMy
> sqlBase, method: isMultipleQuery signature:
> (Ltwz1/jdbc/mysql/jdbcMysqlConnex;)Z
> ) Illegal use of nonvirtual function call
> at twz1.jdbc.mysql.jdbcMysqlDriver.<init>(jdbcMysqlDriver.java)
> at twz1.jdbc.mysql.jdbcMysqlDriver.<clinit>(jdbcMysqlDriver.java)
> at java.lang.Class.forName0(Native Method)
> at java.lang.Class.forName(Class.java:124)
> at XMLDB.Connect(XMLDB.java:17)
> at XMLDB.main(XMLDB.java:66)
>
> i am using the jdk version 1.2.2.
>
> thanks
>
> sascha

I had the same error under jdk1.2.2 and it works with jdk1.1.x, so I changed
over to Mark Matthews
org.gjt.mm.mysql.Driver and it worked.

Fredy


0 new messages