« Return to Thread: descriptor.disableCacheHits() does not disable cache hits

Re: descriptor.disableCacheHits() does not disable cache hits

by Gaurav Malhotra :: Rate this Message:

Reply to Author | View in Thread

It will really appreciate if you can give some pointer.

I want to see via logs then caching is working

Thanks in advance.

Tim Hollosy wrote:
To give more than one query hint on a native query use the hints
attribute of the annotation, it takes an array of QueryHints

hints={@QueryHint(name=QueryHints.REFRESH,value=HintValues.TRUE),@QueryHint(name=QueryHints.CACHE_USAGE,value=HintValues.WHATEVER)}

> How to give more then one query hints? (eclipse.refresh and CACHE_USAGE

./tch
_______________________________________________
eclipselink-users mailing list
eclipselink-users@eclipse.org
https://dev.eclipse.org/mailman/listinfo/eclipselink-users

 « Return to Thread: descriptor.disableCacheHits() does not disable cache hits