Merge branch 'wip/6.0_merge' into wip/6.0
This commit is contained in:
commit
7f574f4a2a
|
@ -312,6 +312,9 @@ public class SybaseDialect extends AbstractTransactSQLDialect {
|
|||
|
||||
@Override
|
||||
public NameQualifierSupport getNameQualifierSupport() {
|
||||
if ( version >= 1500 ) {
|
||||
return NameQualifierSupport.BOTH;
|
||||
}
|
||||
return NameQualifierSupport.CATALOG;
|
||||
}
|
||||
|
||||
|
|
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue