public class LdiStatementUtil extends Object
| 修飾子 | コンストラクタと説明 |
|---|---|
protected |
LdiStatementUtil() |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
static void |
close(Statement statement) |
static boolean |
execute(Statement statement,
String sql) |
static ResultSet |
getResultSet(Statement statement) |
static int |
getUpdateCount(Statement statement) |
static void |
setFetchSize(Statement statement,
int fetchSize) |
static void |
setMaxRows(Statement statement,
int maxRows) |
static void |
setQueryTimeout(Statement statement,
int queryTimeout) |
public static boolean execute(Statement statement, String sql) throws SQLRuntimeException
statement - sql - SQLRuntimeExceptionStatement.execute(String)public static void setFetchSize(Statement statement, int fetchSize) throws SQLRuntimeException
statement - fetchSize - SQLRuntimeExceptionStatement.setFetchSize(int)public static void setMaxRows(Statement statement, int maxRows) throws SQLRuntimeException
statement - maxRows - SQLRuntimeExceptionStatement.setMaxRows(int)public static void setQueryTimeout(Statement statement, int queryTimeout) throws SQLRuntimeException
statement - queryTimeout - SQLRuntimeExceptionStatement.setQueryTimeout(int)public static void close(Statement statement) throws SQLRuntimeException
statement - SQLRuntimeExceptionStatement.close()public static ResultSet getResultSet(Statement statement) throws SQLRuntimeException
statement - SQLRuntimeExceptionpublic static int getUpdateCount(Statement statement)
statement - Statement.getUpdateCount()Copyright © 2015–2016 The DBFlute Project. All rights reserved.