Class BoundSql


  • public class BoundSql
    extends Object
    An actual SQL String got from an SqlSource after having processed any dynamic content. The SQL may have SQL placeholders "?" and a list (ordered) of a parameter mappings with the additional information for each parameter (at least the property name of the input object to read the value from).

    Can also have additional parameters that are created by the dynamic language (for loops, bind...).

    Author:
    Clinton Begin
    • Method Detail

      • getSql

        public String getSql()
      • getParameterObject

        public Object getParameterObject()
      • hasAdditionalParameter

        public boolean hasAdditionalParameter​(String name)
      • setAdditionalParameter

        public void setAdditionalParameter​(String name,
                                           Object value)
      • getAdditionalParameter

        public Object getAdditionalParameter​(String name)