public class SQLUtil extends Object
| Constructor and Description |
|---|
SQLUtil() |
| Modifier and Type | Method and Description |
|---|---|
static void |
checkFetchDirection(int fetchDirection)
Throws an
SQLException if the specified
fetchDirection is invalid |
static boolean |
isSelect(String sql)
Returns if the specified SQL string is a select, i.e.
|
public static boolean isSelect(String sql)
sql - the SQL stringtrue if the specified SQL string is a selectpublic static void checkFetchDirection(int fetchDirection)
throws SQLException
SQLException if the specified
fetchDirection is invalidfetchDirection - the fetch directionSQLExceptionCopyright © 2003-2014. All Rights Reserved.