Class BindParams.Param

java.lang.Object
io.ebeaninternal.api.BindParams.Param
All Implemented Interfaces:
Serializable
Enclosing class:
BindParams

public static final class BindParams.Param extends Object implements Serializable
A In Out capable parameter for the CallableStatement.
See Also:
  • Constructor Details

    • Param

      public Param()
      Construct a Parameter.
  • Method Details

    • queryBindCount

      public int queryBindCount()
    • copy

      public BindParams.Param copy()
      Create a deep copy of the Param.
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • isInParam

      public boolean isInParam()
      Return true if this is an In parameter that needs to be bound before execution.
    • isOutParam

      public boolean isOutParam()
      Return true if this is an out parameter that needs to be registered before execution.
    • type

      public int type()
      Return the jdbc type of this parameter. Used for registering Out parameters and setting NULL In parameters.
    • setOutType

      public void setOutType(int type)
      Set the Out parameter type.
    • setInValue

      public void setInValue(Object in)
      Set the In value.
    • setEncryptionKey

      public void setEncryptionKey(Object in)
      Set an encryption key (which can not be logged).
    • setInNullType

      public void setInNullType(int type)
      Specify that the In parameter is NULL and the specific type that it is.
    • outValue

      public Object outValue()
      Return the OUT value that was retrieved. This value is set after CallableStatement was executed.
    • inValue

      public Object inValue()
      Return the In value. If this is null, then the type should be used to specify the type of the null.
    • setOutValue

      public void setOutValue(Object out)
      Set the OUT value returned by a CallableStatement after it has executed.
    • isEncryptionKey

      public boolean isEncryptionKey()
      If true do not include this value in a transaction log.