|
Sanne Grinovero I may schedule this for 5.1, so I'd like to get any requirements here finalized. As a first step, how does the proposed API look?
Emmanuel Bernard I think org.hibernate.CacheMode / javax.persistence.CacheStoreMode / javax.persistence.CacheRetrieveMode may be enough. So we already have that mechanism. I guess the question is whether setting that at the Session-level prior to make this call is sufficient or if there should be a way to pass the CacheMode in to these methods. Which brings up other interesting discussions like lock modes, etc.
|