Please use the Apache issue tracking system for new NetBeans issues ( !!
Bug 163817 - AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/sql/Statement;
AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/s...
Product: db
Classification: Unclassified
Component: Code
All All
: P4 (vote)
: 6.x
Assigned To: Jiri Rechtacek
Depends on:
  Show dependency treegraph
Reported: 2009-04-27 20:37 UTC by jetadi
Modified: 2013-01-19 15:00 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT

stacktrace (875 bytes, text/plain)
2009-04-27 20:38 UTC, jetadi

Note You need to log in before you can comment on or make changes to this bug.
Description jetadi 2009-04-27 20:37:54 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b16, Java(TM) SE Runtime Environment, 1.6.0_11-b03
OS: Windows Vista, 6.0, x86

User Comments:
jetadi: I try to do a simple select * from table, and I got the error

einarhreindal: Executeing a simple select SQL statement, Select * from tablename

earnarso: Executing a query agains informatix database

java.lang.AbstractMethodError: com.sybase.jdbc.SybConnection.createStatement(II)Ljava/sql/Statement;
        at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.prepareSQLStatement(
        at org.netbeans.modules.db.dataview.output.SQLExecutionHelper.initialDataLoad(
        at org.netbeans.modules.db.dataview.output.DataView.create(
        at org.netbeans.modules.db.dataview.api.DataView.create(
        at org.netbeans.modules.db.sql.execute.SQLExecuteHelper.execute(
        at org.netbeans.modules.db.sql.loader.SQLEditorSupport$
Comment 1 jetadi 2009-04-27 20:38:01 UTC
Created attachment 81011 [details]
Comment 2 Jiri Rechtacek 2009-07-01 07:44:13 UTC
NB6.7 was released already -
Postpone fixing this issue on the next release.
Comment 3 matthias42 2013-01-19 15:00:08 UTC
I tried to gather more information about the sybase driver and got this:

It looks as if you got the JDBC 1.0 driver - don't use it - you will face more bugs in the following methods.

It looks as if a JDBC 2 driver is available and you can switch between them at runtime (see the setVersion part in the documentation). That should bring you further.

I'm closing this bug - feel free to reopen if you can reproduce even with a recent version of the driver (please provide versions of drivers/server/netbeans).

By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo