PDA

View Full Version : jdbc-odbc


Goossens
07-27-02, 21:38
When I try to do the ResultSet.first() command, an error occured saying that my statement is of type 'TYPE_FORWARD_ONLY'. When I want to change that to do a connection(CreateStatement(ResultSet.TYPE_SCROLL_I NSENSITIVE,ResultSet.CONCUR_UPDATABLE)
I get the following error:

Unexpected Signal : EXCEPTION_ACCESS_VIOLATION occurred at PC=0x6D366658

Something to do with the JDBC-ODBC driver ?

here is my code:

Class.forName("sun.jdbc.odbc.JdbcOdbcDriver");
conMain = DriverManager.getConnection("jdbc:odbc:eindwerk");
stat = conMain.createStatement(ResultSet.TYPE_SCROLL_INSE NSITIVE,ResultSet.CONCUR_UPDATABLE);
rsClub = stat.executeQuery("Select ClubId, name from Club");

:confused: what's wrong:confused: