|
|
|
@ -15,6 +15,16 @@
|
|
|
|
|
*/ |
|
|
|
|
package com.fr.third.alibaba.druid.pool; |
|
|
|
|
|
|
|
|
|
import com.fr.third.alibaba.druid.DbType; |
|
|
|
|
import com.fr.third.alibaba.druid.pool.DruidAbstractDataSource.PhysicalConnectionInfo; |
|
|
|
|
import com.fr.third.alibaba.druid.proxy.jdbc.WrapperProxy; |
|
|
|
|
import com.fr.third.alibaba.druid.support.logging.Log; |
|
|
|
|
import com.fr.third.alibaba.druid.support.logging.LogFactory; |
|
|
|
|
import com.fr.third.alibaba.druid.util.JdbcUtils; |
|
|
|
|
import com.fr.third.alibaba.druid.util.Utils; |
|
|
|
|
|
|
|
|
|
import javax.sql.ConnectionEventListener; |
|
|
|
|
import javax.sql.StatementEventListener; |
|
|
|
|
import java.sql.Connection; |
|
|
|
|
import java.sql.SQLException; |
|
|
|
|
import java.sql.SQLFeatureNotSupportedException; |
|
|
|
@ -26,18 +36,6 @@ import java.util.Map;
|
|
|
|
|
import java.util.concurrent.CopyOnWriteArrayList; |
|
|
|
|
import java.util.concurrent.locks.ReentrantLock; |
|
|
|
|
|
|
|
|
|
import javax.sql.ConnectionEventListener; |
|
|
|
|
import javax.sql.StatementEventListener; |
|
|
|
|
|
|
|
|
|
import com.fr.third.alibaba.druid.DbType; |
|
|
|
|
import com.fr.third.alibaba.druid.pool.DruidAbstractDataSource.PhysicalConnectionInfo; |
|
|
|
|
import com.fr.third.alibaba.druid.proxy.jdbc.WrapperProxy; |
|
|
|
|
import com.fr.third.alibaba.druid.support.logging.Log; |
|
|
|
|
import com.fr.third.alibaba.druid.support.logging.LogFactory; |
|
|
|
|
import com.fr.third.alibaba.druid.util.JdbcConstants; |
|
|
|
|
import com.fr.third.alibaba.druid.util.JdbcUtils; |
|
|
|
|
import com.fr.third.alibaba.druid.util.Utils; |
|
|
|
|
|
|
|
|
|
/** |
|
|
|
|
* @author wenshao [szujobs@hotmail.com] |
|
|
|
|
*/ |
|
|
|
@ -136,6 +134,8 @@ public final class DruidConnectionHolder {
|
|
|
|
|
holdabilityUnsupported = true; |
|
|
|
|
} |
|
|
|
|
LOG.warn("getHoldability error", e); |
|
|
|
|
} catch (AbstractMethodError e) { |
|
|
|
|
LOG.warn("getHoldability unsupported", e); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|