Skip navigation links

Oracle Fusion Middleware Java API Reference for Oracle TopLink
11g Release 1 (11.1.1)

E28847-01


org.eclipse.persistence.config
Class ParameterDelimiterType

java.lang.Object
  extended by org.eclipse.persistence.config.ParameterDelimiterType


public class ParameterDelimiterType
extends java.lang.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

Field Summary
static java.lang.String DEFAULT
           
static java.lang.String Hash
           

 

Constructor Summary
ParameterDelimiterType()
           

 

Method Summary

 

Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

 

Field Detail

Hash

public static final java.lang.String Hash
See Also:
Constant Field Values

DEFAULT

public static final java.lang.String DEFAULT
See Also:
Constant Field Values

Constructor Detail

ParameterDelimiterType

public ParameterDelimiterType()

Skip navigation links

Copyright © 1998, 2012, Oracle. All Rights Reserved.