From 60b3d4ec8f47c76b664590501fef48218adc8ba5 Mon Sep 17 00:00:00 2001 From: Andrea Boriero Date: Tue, 28 Sep 2021 09:17:17 +0200 Subject: [PATCH] Add `ASE` to Sybase database names recognition --- .../src/main/java/org/hibernate/dialect/Database.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/hibernate-core/src/main/java/org/hibernate/dialect/Database.java b/hibernate-core/src/main/java/org/hibernate/dialect/Database.java index 537ba874f5..dedf78d969 100644 --- a/hibernate-core/src/main/java/org/hibernate/dialect/Database.java +++ b/hibernate-core/src/main/java/org/hibernate/dialect/Database.java @@ -279,7 +279,8 @@ public enum Database { } private boolean isASE(String databaseName) { return "Sybase SQL Server".equals( databaseName ) - || "Adaptive Server Enterprise".equals( databaseName ); + || "Adaptive Server Enterprise".equals( databaseName ) + || "ASE".equals( databaseName ); } @Override public boolean productNameMatches(String productName) {