Top Description Methods
javax.persistence

public @Interface QueryHint

extends Annotation
Annotations
@Target
@Retention:RUNTIME
Imports
java.lang.annotation.Target, .Retention

Used to supply a query property or hint to the NamedQuery or NamedNativeQuery annotation.

Vendor-specific hints that are not recognized by a provider are ignored.

Since
Java Persistence 1.0

Method Summary

Modifier and TypeMethod and Description
public String
name()

Name of the hint.

public String
value()

Value of the hint.

Inherited from java.lang.annotation.Annotation:
annotationTypeequalshashCodetoString

Method Detail

nameback to summary
public String name()

Name of the hint.

valueback to summary
public String value()

Value of the hint.