Class SQLStatementParameter

java.lang.Object
org.datanucleus.store.rdbms.sql.SQLStatementParameter

public class SQLStatementParameter extends Object
Representation of an SQLStatement parameter.
  • Field Details

    • name

      final String name
      Name of the parameter (either its name, or its position).
    • mapping

      Mapping for the value of the parameter.
    • columnNumber

      final int columnNumber
      Optional number to define the column of the mapping that this represents.
    • value

      final Object value
      Value to use for the parameter.
  • Constructor Details

    • SQLStatementParameter

      public SQLStatementParameter(String name, JavaTypeMapping mapping, Object value, int columnNumber)
      Constructor for a parameter using the mapping where there are multiple columns and we are representing a particular column here.
      Parameters:
      name - Name of the parameter
      mapping - Mapping for the parameter
      value - The value of the parameter
      columnNumber - NUmber of the column for the mapping
  • Method Details