SAP Knowledge Base Article - Preview

2922954 - jConnect retrieving isolation level causes incorrect syntax error near ":" - SDK for SAP ASE

Symptom

Using jconn4.jar driver causes the isolation level to not have a default value:

com.sybase.jdbc4.jdbc.SybSQLException: Incorrect syntax near ':'.

                at com.sybase.jdbc4.tds.Tds.processEed(Tds.java:4229)

                at com.sybase.jdbc4.tds.Tds.nextResult(Tds.java:3346)

                at com.sybase.jdbc4.jdbc.ResultGetter.nextResult(ResultGetter.java:78)

                at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:303)

                at com.sybase.jdbc4.jdbc.SybStatement.nextResult(SybStatement.java:285)

                at com.sybase.jdbc4.jdbc.SybStatement.queryLoop(SybStatement.java:2656)

                at com.sybase.jdbc4.jdbc.SybStatement.executeQuery(SybStatement.java:2642)

                at com.sybase.jdbc4.jdbc.SybPreparedStatement.executeQuery(SybPreparedStatement.java:279)

                at com.sybase.jdbc4.tds.Tds.getIntOption(Tds.java:2325)

                at com.sybase.jdbc4.jdbc.SybConnection.getTransactionIsolation(SybConnection.java:2913)

                at com.globeop.gofinance.DBVersionTest.main(DBVersionTest.java:21)


Read more...

Environment

  • SAP Sybase Software Developer Kit (SDK) 15.7
  • SAP Adaptive Server Enterprise (ASE) Software Developer Kit (SDK) 16.0
  • jConnect
    • JDBC 7.07
    • JDBC 16 ( is version JDBC 7.07 )
  • java

Product

SAP Adaptive Server Enterprise 16.0

Keywords

KBA , BC-SYB-SDK , SDK , BC-SYB-ASE , Sybase ASE Database Platform (non Business Suite) , Problem

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP ONE Support launchpad (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.