Merge branch 'wip/6.0_merge' into wip/6.0

This commit is contained in:
Andrea Boriero 2021-11-25 09:54:48 +01:00
commit 7f574f4a2a
2 changed files with 9 additions and 2 deletions

View File

@ -312,6 +312,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();
if ( user != null ) {
p.put( "user", user );
}
if ( password != null ) {
p.put( "password", password );
}
properties = p;
}
catch (Exception e) {