setHint(hintName, value) - JPA Query's method
Set a query property or hint. The hints elements may be used to specify query properties and hints. Properties defined by this specification must be observed by the provider. Vendor-specific hints that are not recognized by a provider must be silently ignored. Portable applications should not rely on the standard timeout hint. Depending on the database in use and the locking mechanisms used by the provider, this hint may or may not be observed.
hintName- name of the property or hint
value- value for the property or hint
- the same query instance
IllegalArgumentException- if the second argument is not valid for the implementation
- JPA 1.0