-->
These old forums are deprecated now and set to read-only. We are waiting for you on our new forums!
More modern, Discourse-based and with GitHub/Google/Twitter authentication built-in.

All times are UTC - 5 hours [ DST ]



Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 
Author Message
 Post subject: indices on second-level cache
PostPosted: Mon Oct 11, 2004 1:49 am 
Newbie

Joined: Mon Oct 11, 2004 1:15 am
Posts: 1
Hibernate version: 2.x

[b]Mapping documents:


Code between sessionFactory.openSession() and session.close():

Full stack trace of any exception that occurs:

Name and version of the database you are using:

The generated SQL (show_sql=true):

Debug level Hibernate log excerpt:


Does Hibernate ever scan the second-level cache to satisfy a HQL query that contains predicates involving non-primary field keys, or does it go to the database in such a situation?
Does does it make use of the query support afforded by the underlying cache provider? Tangosol Coherence, for example, allows a cache to be queried on non-primary key fields( and it also allows indices to be defined on such fields).


Top
 Profile  
 
Display posts from previous:  Sort by  
Forum locked This topic is locked, you cannot edit posts or make further replies.  [ 1 post ] 

All times are UTC - 5 hours [ DST ]


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum

Search for:
© Copyright 2014, Red Hat Inc. All rights reserved. JBoss and Hibernate are registered trademarks and servicemarks of Red Hat, Inc.