日韩无码专区无码一级三级片|91人人爱网站中日韩无码电影|厨房大战丰满熟妇|AV高清无码在线免费观看|另类AV日韩少妇熟女|中文日本大黄一级黄色片|色情在线视频免费|亚洲成人特黄a片|黄片wwwav色图欧美|欧亚乱色一区二区三区

RELATEED CONSULTING
相關(guān)咨詢
選擇下列產(chǎn)品馬上在線溝通
服務時間:8:30-17:00
你可能遇到了下面的問題
關(guān)閉右側(cè)工具欄

新聞中心

這里有您想知道的互聯(lián)網(wǎng)營銷解決方案
創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSStatementEvent

StatementEvent

專注于為中小企業(yè)提供網(wǎng)站設(shè)計制作、成都網(wǎng)站建設(shè)服務,電腦端+手機端+微信端的三站合一,更高效的管理,為中小企業(yè)黃埔免費做網(wǎng)站提供優(yōu)質(zhì)的服務。我們立足成都,凝聚了一批互聯(lián)網(wǎng)行業(yè)人才,有力地推動了上千余家企業(yè)的穩(wěn)健成長,幫助中小企業(yè)通過網(wǎng)站建設(shè)實現(xiàn)規(guī)模擴充和轉(zhuǎn)變。

java.lang.Object

|---java.util.EventObject

|---|---javax.sql.StatementEvent

public class StatementEvent
extends EventObject

StatementEvent 被發(fā)送到所有向 PooledConnection 注冊的 StatementEventListener。 當驅(qū)動程序確定與 PooledConnection 關(guān)聯(lián)的 PreparedStatement 已關(guān)閉或驅(qū)動程序確定無效時,會發(fā)生這種情況。

Since:

1.6

字段摘要

從類 java.util.EventObject 繼承的字段
source

構(gòu)造函數(shù)摘要

構(gòu)造函數(shù) 描述
StatementEvent(PooledConnection con, PreparedStatement statement)使用指定的 PooledConnection 和 PreparedStatement 構(gòu)造一個 StatementEvent。
StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)使用指定的 PooledConnection、PreparedStatement 和 SQLException 構(gòu)造一個 StatementEvent

方法總結(jié)

修飾符和類型 方法 描述
SQLExceptiongetSQLException()返回驅(qū)動程序即將拋出的 SQLException
PreparedStatementgetStatement()返回正在關(guān)閉或無效的 PreparedStatement
從類 java.util.EventObject 繼承的方法
getSource, toString
從類 java.lang.Object 繼承的方法
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait

構(gòu)造函數(shù)詳細信息

StatementEvent

public StatementEvent(PooledConnection con, PreparedStatement statement)

使用指定的 PooledConnection 和 PreparedStatement 構(gòu)造一個 StatementEvent。 事件中包含的 SQLException 默認為 null。

參數(shù):

參數(shù)名稱 參數(shù)描述
con與關(guān)閉或無效 PreparedStatement 關(guān)聯(lián)的 PooledConnection。
statement正在關(guān)閉或無效的 PreparedStatement

Throws:

Throw名稱 Throw描述
IllegalArgumentException如果 con 為空。

Since:

1.6

StatementEvent

public StatementEvent(PooledConnection con, PreparedStatement statement, SQLException exception)

使用指定的 PooledConnection、PreparedStatement 和 SQLException 構(gòu)造一個 StatementEvent

參數(shù):

參數(shù)名稱 參數(shù)描述
con與關(guān)閉或無效 PreparedStatement 關(guān)聯(lián)的 PooledConnection。
statement正在關(guān)閉或無效的 PreparedStatement
exception驅(qū)動程序即將向應用程序拋出的 SQLException

Throws:

Throw名稱 Throw描述
IllegalArgumentException如果 con 為空。

Since:

1.6

方法詳情

getStatement

public PreparedStatement getStatement()

返回正在關(guān)閉或無效的 PreparedStatement

返回:

正在關(guān)閉或無效的 PreparedStatement

Since:

1.6

getSQLException

public SQLException getSQLException()

返回驅(qū)動程序即將拋出的 SQLException

返回:

驅(qū)動程序即將拋出的 SQLException

Since:

1.6


分享名稱:創(chuàng)新互聯(lián)鴻蒙OS教程:鴻蒙OSStatementEvent
URL標題:http://www.5511xx.com/article/djhihso.html