Package org.firebirdsql.jdbc.escape
Class FBEscapedParser
java.lang.Object
org.firebirdsql.jdbc.escape.FBEscapedParser
The class
FBEscapedParser parses the SQL and converts escaped
syntax to native form.- Version:
- 1.0
- Author:
- Roman Rokytskyy, Mark Rotteveel
-
Nested Class Summary
Nested Classes -
Constructor Summary
ConstructorsConstructorDescriptionCreates a parser for JDBC escaped strings. -
Method Summary
-
Constructor Details
-
FBEscapedParser
Creates a parser for JDBC escaped strings.- Parameters:
mode- One ofFBEscapedParser.EscapeParserMode.USE_BUILT_INorFBEscapedParser.EscapeParserMode.USE_STANDARD_UDF
-
-
Method Details
-
parse
Converts escaped parts in the passed SQL to native representation.- Parameters:
sql- to parse- Returns:
- native form of the
sql. - Throws:
SQLException
-