Annotation Type QueryHint

public @interface QueryHint

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.

Java Persistence 1.0

Required Element Summary
 java.lang.String name
          Name of the hint.
 java.lang.String value
          Value of the hint.

Element Detail


public abstract java.lang.String name
Name of the hint.


public abstract java.lang.String value
Value of the hint.

Submit a bug or feature

Copyright © 2009-2011, Oracle Corporation and/or its affiliates. All Rights Reserved. Use is subject to license terms.

Generated on 10-February-2011 12:41

Scripting on this page tracks web page traffic, but does not change the content in any way.