Class ColonPrefixSqlParser

  • All Implemented Interfaces:
    SqlParser

    public class ColonPrefixSqlParser
    extends CachingSqlParser
    SQL parser which recognizes named parameter tokens of the form :tokenName

    This is the default SQL parser

    • Constructor Detail

      • ColonPrefixSqlParser

        public ColonPrefixSqlParser()
    • Method Detail

      • nameParameter

        public java.lang.String nameParameter​(java.lang.String rawName,
                                              StatementContext ctx)
        Description copied from interface: SqlParser
        Convert rawName to a name as recognized by this parser
        Parameters:
        rawName - the raw name to transform
        ctx - The statement context for the statement being executed
        Returns:
        a name appropriate for being identified a a named parameter by this parser