This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 249523 - com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase.jdbc2.tds.RowFormatToken.getTableName has not been completed and should not be called.
Summary: com.sybase.jdbc2.utils.UnimplementedOperationException: The method com.sybase...
Status: RESOLVED INVALID
Alias: None
Product: db
Classification: Unclassified
Component: Show Data (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: Libor Fischmeistr
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-12-25 02:29 UTC by yyq2008
Modified: 2014-12-25 10:43 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 150585


Attachments
stacktrace (910 bytes, text/plain)
2014-12-25 02:29 UTC, yyq2008
Details

Note You need to log in before you can comment on or make changes to this bug.
Description yyq2008 2014-12-25 02:29:50 UTC
Build: NetBeans IDE 8.0.2 (Build 201411181905)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.5-b02, Java(TM) SE Runtime Environment, 1.8.0_05-b13
OS: Windows 7

User Comments:
GUEST: I was perfoming a select sentence on a table in a Sybase Database

GUEST: Viewing Data from a Sybase database table

GUEST: Was trying to execute simple select

GUEST: none, was trying to get a sql command.

GUEST: No puedo conectarme con Netbeans 7.o con la versi
Comment 1 yyq2008 2014-12-25 02:29:51 UTC
Created attachment 151275 [details]
stacktrace
Comment 2 matthias42 2014-12-25 10:43:05 UTC
Looks like another broken JDBC driver. While the netbeans method is not coded optimal, the behaviour is clearly not valid behaviour. The developer could have thrown an SQLException or a subclass of it (that would be documented behaviour), or just return the empty string (see http://docs.oracle.com/javase/1.5.0/docs/api/java/sql/ResultSetMetaData.html#getTableName%28int%29)

The first hint for a work around:

http://nntp-archive.sybase.com/nntp-archive/action/article/%3CwX1MrxAzBHA.133@forums.sybase.com%3E

And here (property: BE_AS_JDBC_COMPLIANT_AS_POSSIBLE):

http://infocenter.sybase.com/help/index.jsp?topic=/com.sybase.help.sdk_12.5.1.prjdbc/html/prjdbc/X40297.htm

Closing as invalid as this is not a bug in netbeans. If you think otherwise, please feel free to reopen.