Interface QueryParameters.Parameter

Enclosing class:
QueryParameters

public static interface QueryParameters.Parameter
JDQL parameter.
  • Method Summary

    Modifier and Type
    Method
    Description
    Code to be generated as JDQL parameter.
    int
    Index ot the ordinal parameter.
    Name od the parameter.
  • Method Details

    • code

      String code()
      Code to be generated as JDQL parameter. Returns String literal for named parameter or int literal for ordinal parameter.
      Returns:
      JDQL parameter code.
    • name

      String name()
      Name od the parameter. Returns name of the named parameter or index value of the ordinal parameter.
      Returns:
      name od the parameter
    • index

      int index()
      Index ot the ordinal parameter.
      Returns:
      ordinal parameter index
      Throws:
      UnsupportedOperationException - for named parameter