× Heads up!

Aqua Data Studio / nhilam

Follow
IDE for Relational Databases
×
NielsGron reported 2012-10-25T14:18:28Z  · tariqrahiman last modified 2016-10-24T20:22:12Z

Sybase ASE query errors not indicating the line numbers of the error within the query


customer request faq
Priority Major
Complexity Unknown
Component Q Analyzer
Version 18.0

Sybase ASE query errors not indicating the line numbers of the error within the query.  The problem is caused by jConnect7.

Executing this query :

select * from Customers
select * from Customers
select * rom Customers

Gives you these results with ADS 12 w/ jConnect7

>[Error] Script lines: 1-4 --------------------------
 Incorrect syntax near 'rom'. 

And gives you these results with ADS 12 w/ jConnect 6

>[Error] Script lines: 1-4 --------------------------
 Incorrect syntax near 'rom'.
 Msg: 102, Level: 15, State: 1
 Server: SybaseASE15, Line: 3 

 

jConnect6 throws the exception class type "com.sybase.jdbc3.jdbc.SybSQLException", while jConnect7 throws the exception class type "java.sql.SQLException".  The class com.sybase.jdbc3.jdbc.SybSQLException has the line number, so jConnect7 is not returning the line numbers.

3 attachments

Issue #7858

Closed
Fixed
Resolved 2016-10-24T20:22:12Z
 
 
Completion
No due date
Fixed Build 15.0.0-dev-310
No time estimate

About AquaClusters Privacy Policy Support Version - 19.0.2-4 AquaFold, Inc Copyright © 2007-2017