Class QueryType

  • public class QueryType
    extends java.lang.Object
    Query type hint values. The class contains all the valid values for QueryHints.QUERY_TYPE query hint. A fully qualified class name of a valid subclass of DatabaseQuery can also be used.

    i.e. "org.acme.persistence.CustomQuery" JPA Query Hint Usage:

    query.setHint(QueryHints.QUERY_TYPE, QueryType.ReadObject);


    @QueryHint(name=QueryHints.QUERY_TYPE, value=QueryType.ReadObject)

    Hint values are case-insensitive. "" could be used instead of default value CacheUsage.DEFAULT.

    See Also:
    QueryHints.QUERY_TYPE, DatabaseQuery
    • Constructor Summary

      Constructor Description
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait