[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[List Home]
|
Re: [eclipselink-users] descriptor.disableCacheHits() does not disable cache hits
|
- From: "Tim Hollosy" <hollosyt@xxxxxxxxx>
- Date: Tue, 5 Aug 2008 10:35:16 -0400
- Delivered-to: eclipselink-users@eclipse.org
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=SbIlbK2X6UDP0TJ/EhmdJkVS4pRzGd6oLB/Yo1PawMk=; b=rIovpOis4WkOrX9SGqAkZEqFQ5XMxEtRlEZXVxpAd7eKoXhrUgskrDbNtt9aixEPBA TPAJFDdVGEY6cf+8rPXenjEYloG13NNDOMjvSs3t63aMG7M1OCN6mxyHwWwVIyJ4ml0U hPZzarhw/E6pejDtCSyFweUmxW0ywviCmxEpY=
- Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Fc5jobAHj6/yJs1924pe1kTwhO9htlxP7F3RfYi5r3Qy6+ZgFbJ/40GPM3RtISo0sG RMjYgqLzMS4HugQ70G3U+0G5nWGA/affHQyvu8MyRO8X1Vf/xoT9sKGfV4OtHt39fWd6 7xuE0zZxn3JVmaPpaze4shBXy2/tLCSeg06/I=
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