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:
Julien Bras 2018-11-02 14:55:00 -04:00 committed by Guillaume Smet
parent 12d34965ff
commit 88b3edfcee
1 changed files with 1 additions and 1 deletions

View File

@ -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();
}