public final class JSqlParserUtil
extends java.lang.Object
https://github.com/JSQLParser/JSqlParser| Constructor and Description |
|---|
JSqlParserUtil() |
| Modifier and Type | Method and Description |
|---|---|
static Statement |
parse(java.lang.String sql,
int timeoutSec)
Parses a SQL statement.
|
public static Statement parse(java.lang.String sql,
int timeoutSec)
throws JSQLParserException
sql - the statementtimeoutSec - timeout in secondsJSQLParserException - if JSQLParser is not able to parse the statement