注册给定的事件侦听器,以便在此 SQLServerPooledConnection 对象发生事件时通知该侦听器。
语法
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
参数
listener
ConnectionEventListener 对象。
备注
此 addConnectionEventListener 方法由 javax.sql.PooledConnection 接口中的 addConnectionEventListener 方法指定。