jConnect is the Sybase high-performance JDBC driver. Use this tag for questions about programming with Sybase jConnect, and a tag for the DBMS implementation (e.g. MySQL, PostgreSQL, Oracle, MS SQL Server, IBM DB2, etc.) being used with the jConnect driver.
Questions tagged [jconnect]
49 questions
1
vote
2 answers
Jconnect 4 jar versions
I am trying to move from Jconnect 2 to Jconnect 6.
In application i see that there is a jar names jconn2-5.5.
5.5 being Jconnect version.The application is quite old. Now Jconn 4 that i am using has Jconnect version as 16.0. I am not able to find a…

Prateek
- 35
- 1
- 7
1
vote
1 answer
Does implementation of ExecuteUpdate is different for Statement,PreparedStatement and CallableStatement inside JDBC driver?
BackGroud Story:
I have observed that Sybase JDBC driver (jconn3) is eating exceptions on Statement.ExecuteUpdate(sql).
The SQL statement was an Insert statement which inserts a row into a table (This is not a temp table) but still…

TonyStark
- 65
- 7
1
vote
2 answers
Getting a Connection with DBCP via the Sybase Jconnect JDBC driver
I am trying to get a Connection in the following code and I keep getting an SQLException with the message "Login failed" and with the details "Specified database not found".
Connection con = null;
BasicDataSource dataSource = new…

Eric Milas
- 1,807
- 2
- 18
- 29
1
vote
1 answer
What is the list of JConnect error-codes?
I have recently changed an application from storing the database username and password in a configuration file (gasp password stored in plain text in a config file).
The application now asks the user to type in her username and password before it…

Ron Tuffin
- 53,859
- 24
- 66
- 78
0
votes
1 answer
Reconnecting jdbc datasource to sybase ASE 12.5 after database restart
I have a java application that uses jtds driver and commons-dbcp as a connection pool. This application connects to the Sybase ASE 12.5. From time to time sybase is restarted for the maintenance. After restart my application tries to reconnect to…

szhem
- 4,672
- 2
- 18
- 30
0
votes
2 answers
How to call stored procedures in Sybase correctly
I'm trying to call some legacy stored procedures on a Sybase Database (ASE 15) using Spring JDBC.
I've got it working pretty good but I can't figure out how to get the returned value from the proc.
This is the code I got:
@Repository
public class…

Andreas Wederbrand
- 38,065
- 11
- 68
- 78
0
votes
1 answer
Sql anywhere engine got crashed when i perform many execute update using jconn4 library from the android application
am using jconn4 library to connect my android application to the sql anywhere database, everything is good, the engine was launched in 32 bit , so when am trying to perform execute update many times, the engine is crashed i don't know why, i got an…

Mahdi Rida
- 13
- 2
0
votes
1 answer
jdk17 application not able to connect to sybase
This application runs without any error with jdk8.
jdk version jdk17
jConnect dependency
com.sybase.jconnect
jconn4
7.07-27307
oracle…

newStack
- 11
- 2
0
votes
1 answer
Cannot find the latest jconnect jar file for sybase drivers
I was trying to get the latest jconn4.jar for the sybase drivers in my java project, but I cannot find the latest version of it.
Here are the links where I did find it but they are older…

DrainBamage
- 1
- 1
- 1
0
votes
1 answer
What is the difference between jconn4.jar and jconn42.jar?
Basically in the installation SDK of Sybase 16 we have jconn4.jar and jconn42.jar. What is the difference between jconn4.jar and jconn42.jar?
0
votes
0 answers
Can you connect to a Sybase database without metadata accessor information?
I'm trying to connect to a database supplied by a vendor. I have read-only access.
Every tool I use (SQLWorkbench, DBeaver, etc...) refuses to connect using the jconn4 drivers with an error message along the lines of:
Metadata accessor information…

Aaron C. de Bruyn
- 2,347
- 1
- 30
- 40
0
votes
0 answers
Improper handling of extended ASCII characters with jdbc
I am using JDBC to connect to a Sybase table that contains extended ascii characters (ascii code >= 128).
And they are returned as ?.
I am calling this from Dot Net for Apache Spark using JConn4. The sybase database is using iso_1.
In another test…

Waldemar Sarmiento
- 11
- 1
0
votes
1 answer
jconnect 7.07 vs Jconnect 5 for ase 12.5
Sybase Ase 15.7 comes with JConnect 7
Sybase Ase 12.5 comes with JConnect 5.
Is JConnect 7 backwards compatible with ASE 12.5?
Or should I run JConnect 5?

Eric Brown - Cal
- 14,135
- 12
- 58
- 97
0
votes
0 answers
Exception thrown at executeUpdate & DriverManager.getConnection
I'm trying to connect to a MYSQL database inside java and insert new data. If I use jconnector (jar file) version 5.1.47, an exception is thrown at executeUpdate(String s). If I use version 8 of the jar file, another exception is thrown at…

Marcus
- 1
- 1
0
votes
0 answers
jconn driver not respecting connection properties
We are using jconn4.jar to connect to Sybase server using java code. The problem is that sometimes when reading/writing data to the Sybase server, the server hangs which keeps the connection that was made to the server open. We are checking using…

BoringProgrammer
- 91
- 1
- 11