Merge remote-tracking branch 'upstream/main' into wip/6.0_merge

This commit is contained in:
Andrea Boriero 2021-11-24 16:48:43 +01:00
commit bdc1e4103d
2 changed files with 9 additions and 2 deletions

View File

@ -309,6 +309,9 @@ public class SybaseDialect extends AbstractTransactSQLDialect {
@Override
public NameQualifierSupport getNameQualifierSupport() {
if ( version >= 1500 ) {
return NameQualifierSupport.BOTH;
}
return NameQualifierSupport.CATALOG;
}

View File

@ -38,8 +38,12 @@ public final class JdbcConnectionContext {
password = connectionProperties.getProperty(
AvailableSettings.PASS );
Properties p = new Properties();
p.put( "user", user );
p.put( "password", password );
if ( user != null ) {
p.put( "user", user );
}
if ( password != null ) {
p.put( "password", password );
}
properties = p;
}
catch (Exception e) {