addConnectionEventListener 方法 (SQLServerPooledConnection)
注册给定的事件侦听器,以便在此 SQLServerPooledConnection 对象发生事件时通知该侦听器。
语法
public void addConnectionEventListener(javax.sql.ConnectionEventListener listener)
参数
listener
ConnectionEventListener 对象。
注解
此 addConnectionEventListener 方法是由 javax.sql.PooledConnection 接口中的 addConnectionEventListener 方法指定的。
另请参阅
SQLServerPooledConnection 方法
SQLServerPooledConnection 成员
SQLServerPooledConnection 类
反馈
https://aka.ms/ContentUserFeedback。
即将发布:在整个 2024 年,我们将逐步淘汰作为内容反馈机制的“GitHub 问题”,并将其取代为新的反馈系统。 有关详细信息,请参阅:提交和查看相关反馈