?? query.java
字號:
package org.wuhua.fuck.core;
/**
* <b>類名:Query.java</b> </br>
* 編寫日期: 2007-2-7 <br/>
* 程序功能描述: SQL查詢語句接口.<br/>
* 主要通過工廠的方式生成一個Query對象。
* Demo: <br/>
* Bug: <br/>
*
* 程序變更日期 :<br/>
* 變更作者 :<br/>
* 變更說明 :<br/>
*
* @author wuhua </br> <a href="mailto:rrq12345@163.com">rrq12345@163.com</a>
*/
public interface Query {
/**
* 執行sql語句,這個可以用于任何sql語句
* @return
* @throws SQLException
*/
void execute()throws SQLException;
/**
* 用于執行查詢語句
* @return
* @throws SQLException
*/
ResultSet executeQuery()throws SQLException;
// void setString(int parameterIndex, String value) throws SQLException;
void setString(String columnName, String value) throws SQLException;
//void setBoolean(int parameterIndex, boolean value) throws SQLException;
//void setInt(int parameterIndex, int value) throws SQLException;
//void setLong(int parameterIndex, long value) throws SQLException;
//void setShort(int parameterIndex, short value) throws SQLException;
//void setBytes(int parameterIndex, byte[] value) throws SQLException;
}
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -