Class FBEscapedParser

java.lang.Object
org.firebirdsql.jdbc.escape.FBEscapedParser

@InternalApi public final class FBEscapedParser extends Object
The class FBEscapedParser parses the SQL and converts escaped syntax to native form.
Author:
Roman Rokytskyy, Mark Rotteveel
  • Method Details

    • toNativeSql

      public static String toNativeSql(String sql) throws SQLException
      Converts escaped parts in sql to native representation.
      Parameters:
      sql - to parse
      Returns:
      native form of the sql.
      Throws:
      SQLException
    • parse

      public static String parse(String sql) throws SQLException
      Converts escaped parts in sql to native representation.
      Parameters:
      sql - to parse
      Returns:
      native form of the sql.
      Throws:
      SQLException