Interface ParameterContainer

All Known Implementing Classes:
ComponentJoin, FromElement, ImpliedFromElement, SqlFragment

public interface ParameterContainer
Deprecated.
Currently this is needed in order to deal with FromElements which contain "hidden" JDBC parameters from applying filters.

Would love for this to go away, but that would require that Hibernate's internal join handling be able to either:

  • render the same AST structures
  • render structures capable of being converted to these AST structures

In the interim, this allows us to at least treat these "hidden" parameters properly which is the most pressing need.

  • Method Details

    • setText

      void setText(String text)
      Deprecated.
      Set the renderable text of this node.
      Parameters:
      text - The renderable text
    • addEmbeddedParameter

      void addEmbeddedParameter(ParameterSpecification specification)
      Deprecated.
      Adds a parameter specification for a parameter encountered within this node. We use the term 'embedded' here because of the fact that the parameter was simply encountered as part of the node's text; it does not exist as part of a subtree as it might in a true AST.
      Parameters:
      specification - The generated specification.
    • hasEmbeddedParameters

      boolean hasEmbeddedParameters()
      Deprecated.
      Determine whether this node contains embedded parameters. The implication is that getEmbeddedParameters() is allowed to return null if this method returns false.
      Returns:
      True if this node contains embedded parameters; false otherwise.
    • getEmbeddedParameters

      ParameterSpecification[] getEmbeddedParameters()
      Deprecated.
      Retrieve all embedded parameter specifications.
      Returns:
      All embedded parameter specifications; may return null.
      See Also: