java.lang.Object
org.litebridge.orm.nativesql.SqlParser
A utility class for parsing SQL statements containing named parameters and converting them
into SQL statements with positional placeholders.
This class uses regular expressions to identify named parameters in the SQL statement,
replaces them with positional placeholders (e.g., "?"), and extracts a list of the original
parameter names in the order they appear in the statement. The output is encapsulated
in a ParsedSql object.
This is a final class with only static methods and is not intended to be instantiated.
-
Method Summary
-
Method Details
-
parseSql
-