It appears that in the Java Redshift Driver v2.1.0.6, they changed the handling of driver property application_name so that if it is null, the name is created in the format appName = "[" + Thread.currentThread().getName() + "]" + stacktrace[stacktrace.length-1].toString(); which we suspect creates "too long" of an application name for the driver connection to succeed. By simply setting this property to something simple like "DBeaver", we've found that any newer Redshift driver version can be used.
Description
It appears that in the Java Redshift Driver v2.1.0.6, they changed the handling of driver property
application_name
so that if it is null, the name is created in the formatappName = "[" + Thread.currentThread().getName() + "]" + stacktrace[stacktrace.length-1].toString();
which we suspect creates "too long" of an application name for the driver connection to succeed. By simply setting this property to something simple like "DBeaver", we've found that any newer Redshift driver version can be used.See changes at https://github.com/aws/amazon-redshift-jdbc-driver/compare/v2.1.0.5...v2.1.0.6
DBeaver Version
Community Edition 23.3.3.202401211839
Operating System
macOS 14.3.1 (23D60)
Database and driver
com.amazon.redshift 2.1.0.26
Steps to reproduce
Additional context
No response