ODBC Query with NULL value
See original GitHub issueSystem information:
- Windows 10
- DBeaver 6.1.1.201906240635
- Java 11.0.3
- Additional extensions: without
Connection specification:
- Database: SQL
- Driver name: JDBC
- Do you use tunnels or proxies : ODBC Connection, SQL Anywhere 17
DBeaver returns NULL in fields where the value is 100%. The following is an example of query and table view:
LOG FILE:
!SESSION 2019-07-03 09:20:11.687 -----------------------------------------------
eclipse.buildId=unknown
java.version=11.0.3
java.vendor=AdoptOpenJDK
BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en
Command-line arguments: -os win32 -ws win32 -arch x86_64
!ENTRY org.jkiss.dbeaver.model 4 0 2019-07-03 09:20:24.000
!MESSAGE Error determining server version
!SUBENTRY 1 org.jkiss.dbeaver.model 4 0 2019-07-03 09:20:24.000
!MESSAGE
!STACK 0
java.lang.UnsupportedOperationException
at sun.jdbc.odbc.JdbcOdbcDatabaseMetaData.getDatabaseMajorVersion(JdbcOdbcDatabaseMetaData.java:4030)
at org.jkiss.dbeaver.model.impl.jdbc.exec.JDBCDatabaseMetaDataImpl.getDatabaseMajorVersion(JDBCDatabaseMetaDataImpl.java:140)
at org.jkiss.dbeaver.model.impl.jdbc.JDBCDataSource.initialize(JDBCDataSource.java:348)
at org.jkiss.dbeaver.ext.generic.model.GenericDataSource.initialize(GenericDataSource.java:426)
at org.jkiss.dbeaver.registry.DataSourceDescriptor.connect(DataSourceDescriptor.java:785)
at org.jkiss.dbeaver.runtime.jobs.ConnectJob.run(ConnectJob.java:70)
at org.jkiss.dbeaver.model.runtime.AbstractJob.run(AbstractJob.java:102)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:63)
Query:
Issue Analytics
- State:
- Created 4 years ago
- Comments:27 (3 by maintainers)
Top Results From Across the Web
Handling NULL values returned to an ODBC DataReader
I am using sql query to read data inside the script component and writting it to output buffer. But in my source few...
Read more >DBeaver: select from ODBC shows NULL where there ... - Reddit
When I run select queries - many columns' values are shown as NULLS, but they do have values. When using the same driver...
Read more >NULL Values - Progress Documentation
When the Sybase IQ Wire Protocol driver establishes a connection, the driver sets the Sybase database option ansinull to on. Setting ansinull to...
Read more >SQL Command ISNULL for ODBC Connection - Stack Overflow
Basically it will convert to 4 if the value is null (and therefore not convertable). Share.
Read more >General ODBC Error SQL Server Warning Null Value is ...
Error: General ODBC Error SQL Server Warning Null Value is eliminated - when outputting Median summary field in Fund query. The Fund query...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I would do this, but Entity Framework is preferring nvarchar over varchar, and I don’t want to change its default functionality. Plus, I would lose all the benefits of Unicode if I just used varchar.
I’m getting the same issue with ODBC driver: CData for Azure Table Storage v 20.0.7515.0 DBeaver 7.2.1.202009201907