-->
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: Objects are not hydrated when using second level cache
PostPosted: Sat Aug 28, 2010 12:38 pm 
Newbie

Joined: Sat Aug 28, 2010 12:25 pm
Posts: 1
I have both enabled query cache and second level cache in my hibernate configuration, The objects are cached in the second level cache but cached objects are not fully hydrated. Do you have any idea how to get the objects hydrated?

<property name="hibernate.cache.use_query_cache">true</property>
<property name="hibernate.query.substitutions">true '1', false '0'</property>
<property name="hibernate.default_batch_fetch_size">50</property>
<property name="hibernate.order_updates">true</property>
<property name="hibernate.cache.use_second_level_cache">true</property>

<class name="ir.dpi.cm.eb.model.AccountType" table="account_type" schema="REF">
<cache usage="read-only"/>
<id name="id" type="java.lang.Long">
<column name="account_type_id" />
<generator class="sequence">
<param name="sequence">REF.SQCONSTANTS</param>
</generator>
</id>


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.