-
Connection接口
鎖定
Connection接口代表與特定的數據庫的連接.要對數據表中的數據進行操作,首先要獲取數據庫連接.Connection實現就像在應用程序中與數據庫之間開通了一條渠道.通過DriverManager類的getConnection()方法可獲取Connection。
- 中文名
- Connection接口
- 性 質
- 接口類型
常用方法
實例.Connection的常用方法有:
creatStatement()方法,createStatement(int resultSetType.intresultSetConcurrency)方法,prepareStatement()方法,isReadOnly()方法,setReadOnly()方法,setReadOnly()方法,commit()方法,roolback()方法,close()方法.
- 詞條統計
-
- 瀏覽次數:次
- 編輯次數:7次歷史版本
- 最近更新: 小爱_四季私语