HHH-13078 Choose the right dialect for Sybase SQL Anywhere 17
On SQL Anywhere 17.0.0.1062 the product name is "SQL Anywhere" and not "Adaptive Server Anywhere". I suggest to include this string in the test to select the right dialect.
This commit is contained in:
parent
12d34965ff
commit
88b3edfcee
|
@ -511,7 +511,7 @@ public enum Database {
|
|||
return latestDialectInstance( this );
|
||||
}
|
||||
|
||||
if ( databaseName.startsWith( "Adaptive Server Anywhere" ) ) {
|
||||
if ( databaseName.startsWith( "Adaptive Server Anywhere" ) || "SQL Anywhere".equals( databaseName ) ) {
|
||||
return new SybaseAnywhereDialect();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue