Skip to main content



      Home
Home » Eclipse Projects » EclipseLink » Query Hints - Multiple Formats?(Recommended Practise: Which query hint format should be used?)
Query Hints - Multiple Formats? [message #802139] Sun, 19 February 2012 08:26 Go to next message
Eclipse UserFriend
query.setHint(QueryHints.CACHE_USAGE, CacheUsage.CheckCacheOnly);
query.setHint(CacheUsage.CheckCacheOnly, HintValues.TRUE);

Which of these is preferred? [I believe they perform the same function.]
Re: Query Hints - Multiple Formats? [message #804384 is a reply to message #802139] Wed, 22 February 2012 10:11 Go to previous message
Eclipse UserFriend

query.setHint(CacheUsage.CheckCacheOnly, HintValues.TRUE);

Is not a valid hint, so will do nothing.
Previous Topic:Native ORM & EclipseLink 2.3.2 Multi-Tenancy
Next Topic:Exception Description: Null primary key encountered in unit of work clone
Goto Forum:
  


Current Time: Tue Jun 17 02:56:10 EDT 2025

Powered by FUDForum. Page generated in 0.04358 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top