mirror of
https://github.com/alibaba/druid.git
synced 2023-03-04 19:17:16 +00:00
bug fixed for getHoldability compatible with Hive. issue #1386
This commit is contained in:
@@ -89,6 +89,7 @@ public final class DruidConnectionHolder {
|
||||
boolean initUnderlyHoldability = !holdabilityUnsupported;
|
||||
if (JdbcConstants.SYBASE.equals(dataSource.getDbType()) //
|
||||
|| JdbcConstants.DB2.equals(dataSource.getDbType()) //
|
||||
|| JdbcConstants.HIVE.equals(dataSource.getDbType()) //
|
||||
) {
|
||||
initUnderlyHoldability = false;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user