Class SqlParameter<O>

  • Type Parameters:
    O - the type param

    public final class SqlParameter<O>
    extends Object
    this class concerns the param of a sql statement.
    Author:
    pchretien
    • Method Detail

      • of

        public static <O> SqlParameter of​(Class<O> dataType,
                                          O value)
        Static builder.
        Parameters:
        dataType - the param type
        value - the param value
        Returns:
        SqlParameter of this value
      • getDataType

        public Class getDataType()
        Returns:
        the param type
      • getValue

        public O getValue()
        Returns:
        the param value