|
|
@ -136,11 +136,16 @@ public final class DruidConnectionHolder { |
|
|
|
holdabilityUnsupported = true; |
|
|
|
holdabilityUnsupported = true; |
|
|
|
} |
|
|
|
} |
|
|
|
LOG.warn("getHoldability error", e); |
|
|
|
LOG.warn("getHoldability error", e); |
|
|
|
|
|
|
|
} catch (AbstractMethodError e){ |
|
|
|
|
|
|
|
LOG.warn("getHoldability error", e); |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
try { |
|
|
|
this.underlyingReadOnly = conn.isReadOnly(); |
|
|
|
this.underlyingReadOnly = conn.isReadOnly(); |
|
|
|
|
|
|
|
} catch (Throwable e){ |
|
|
|
|
|
|
|
} |
|
|
|
try { |
|
|
|
try { |
|
|
|
this.underlyingTransactionIsolation = conn.getTransactionIsolation(); |
|
|
|
this.underlyingTransactionIsolation = conn.getTransactionIsolation(); |
|
|
|
} catch (SQLException e) { |
|
|
|
} catch (SQLException e) { |
|
|
|