|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.mockrunner.jdbc.SQLUtil
public class SQLUtil
Simple util class for SQL statements
| Constructor Summary | |
|---|---|
SQLUtil()
|
|
| Method Summary | |
|---|---|
static void |
checkFetchDirection(int fetchDirection)
Throws an SQLException if the specified
fetchDirection is invalid |
static boolean |
isSelect(java.lang.String sql)
Returns if the specified SQL string is a select, i.e. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public SQLUtil()
| Method Detail |
|---|
public static boolean isSelect(java.lang.String sql)
sql - the SQL string
true if the specified SQL string is a select
public static void checkFetchDirection(int fetchDirection)
throws java.sql.SQLException
SQLException if the specified
fetchDirection is invalid
fetchDirection - the fetch direction
java.sql.SQLException
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||