Module eclipselink

Class ParameterDelimiterType


  • public class ParameterDelimiterType
    extends Object
    Parameter delimiter char hint values. The class contains the default value for QueryHints.PARAMETER_DELIMITER query hint. A single char should be specified if the default hash symbol needs to be overridden.

    i.e. "%" JPA Query Hint Usage:

    query.setHint(QueryHints.PARAMETER_DELIMITER, "%");

    or

    @QueryHint(name=QueryHints.PARAMETER_DELIMITER, value="%")

    Hint values are case-insensitive. "" cannot be used - and will be replaced with the default value ParameterDelimiterType.DEFAULT

    See Also:
    QueryHints.PARAMETER_DELIMITER
    • Constructor Detail

      • ParameterDelimiterType

        @Deprecated(since="4.0.3",
                    forRemoval=true)
        public ParameterDelimiterType()
        Deprecated, for removal: This API element is subject to removal in a future version.
        This constructor will be marked private and the class final. It is not designed for extensibility.