Class ParamNameResolver


  • public class ParamNameResolver
    extends Object
    • Constructor Detail

    • Method Detail

      • getNames

        public String[] getNames()
        Returns parameter names referenced by SQL providers.
        Returns:
        the names
      • getNamedParams

        public Object getNamedParams​(Object[] args)

        A single non-special parameter is returned without a name. Multiple parameters are named using the naming rule. In addition to the default names, this method also adds the generic names (param1, param2, ...).

        Parameters:
        args - the args
        Returns:
        the named params