HHH-16304 Default unquotedCaseStrategy to MIXED with Sybase
This commit is contained in:
parent
79adaefb7c
commit
de70033710
|
@ -361,8 +361,9 @@ public class SybaseDialect extends AbstractTransactSQLDialect {
|
||||||
@Override
|
@Override
|
||||||
public IdentifierHelper buildIdentifierHelper(IdentifierHelperBuilder builder, DatabaseMetaData dbMetaData)
|
public IdentifierHelper buildIdentifierHelper(IdentifierHelperBuilder builder, DatabaseMetaData dbMetaData)
|
||||||
throws SQLException {
|
throws SQLException {
|
||||||
if ( dbMetaData == null ) {
|
// Default to MIXED because the jconn driver doesn't seem to report anything useful
|
||||||
builder.setUnquotedCaseStrategy( IdentifierCaseStrategy.MIXED );
|
builder.setUnquotedCaseStrategy( IdentifierCaseStrategy.MIXED );
|
||||||
|
if ( dbMetaData == null ) {
|
||||||
builder.setQuotedCaseStrategy( IdentifierCaseStrategy.MIXED );
|
builder.setQuotedCaseStrategy( IdentifierCaseStrategy.MIXED );
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue