Jakarta Persistence (JPA) Method
StoredProcedureQuery setHint(
String hintName,
Object value
)
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, this hint may or may not be observed.
- Parameters:
value- value for the property or hinthintName- name of the property or hint
- Returns:
- the same query instance.
- Throws:
- if the second argument is not valid for the implementation.IllegalArgumentException
- Since:
- Jakarta Persistence (JPA) 1.0