Sybase JTDS / jConnect Problems
See original GitHub issueHi,
Using the version 6 or above of DBeaver (including the one released on 2021-08-02), I’m unable to connect to Sybase database using jConnect. Using the JTDS driver, I was able to connect, but I faced the problem of this ticket: https://github.com/dbeaver/dbeaver/issues/3528
I tried using jConnect, but in my case I must use the parameter APPLICATIONNAME, but it seems to me that this version is not passing the value to the connection string. Using DBeaver 5.1.6 with jConnect driver works fine.
In summary:
Current Version of DBeaver (released on 2021-08-02) With JTDS:
- Create the connection with APPNAME
- It connects
- If I specify the column names, I’m able to execute queries. If I use * or joins, it crashes
- Tables, users and other objects are not listed
With jConnect
- Create the connection with APPLICATIONNAME (the parameter name is different from JTDS)
- It doesn’t connect, because it’s like I’m not sending this parameter value (although it’s filled)
DBeaver 5.1.6 With jConnect
- Create the connection with APPLICATIONNAME
- It connects
- Everything works fine
System information:
- Windows 10 Pro x64 (Brazilian Portuguese)
- DBeaver version - 21.1.4.202108020335
- No Additional extensions
Include any warning/errors/backtraces from the logs
Error log’s of DBeaver version - 21.1.4.202108020335
JTDS Driver
Can't read schema list
java.lang.NullPointerException
at org.jkiss.dbeaver.ext.mssql.model.generic.SQLServerMetaModel.loadSchemas(SQLServerMetaModel.java:349)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.initialize(GenericDataSource.java:550)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:926)
at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
at org.jkiss.dbeaver.runtime.jobs.ConnectionTestJob.run(ConnectionTestJob.java:103)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:105)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
jConnect Driver
RAISERROR executed: Acesso negado. Usuário deve possuir uma credencial válida ou específica para esse usuário (Access denied. User must have a valid or specific credential for that user)
eclipse.buildId=unknown
java.version=11.0.11
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=pt_BR
Command-line arguments: -os win32 -ws win32 -arch x86_64
In the case of jConnect driver, as mentioned before, it’s like the value of APPLICATIONNAME its not being appended to the connection string
For the time being, I’m reverting to 5.1.6
Thanks in advance
Issue Analytics
- State:
- Created 2 years ago
- Comments:8 (3 by maintainers)
Top GitHub Comments
It is still happening. I made a video, but I’m not good at video editing. I have to hide the credentials / ip etc, then I’ll post it here.
I got it working, but I think this is a bug
The client identification panel is overriding that driver parameter. When I put the value in this pane, it works fine.
In other words