-->
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: hibernate session problem
PostPosted: Sun Aug 30, 2009 8:08 am 
Newbie

Joined: Sun Aug 30, 2009 7:34 am
Posts: 1
hi all
i have a problem with hibernate . i have a person object and many relations between it and some other object(its children).
when i load a saved child and change it and again save it all thing is good and changes apply to DB but when i want to load that changed person's child hibernate load old object not changed object.
and when i try to load this child at second time hibernate load it peroperly.

i added some configs in my hibernateconfig file >
<property name="cache.provider_class">org.hibernate.cache.NoCacheProvider</property>
<property name="hibernate.cache.use_query_cache">
false
</property>
<property name="hibernate.cache.use_second_level_cache">
false
</property>
<property name="hibernate.connection.aggressive_release">
false
</property>
<property name="connection.autocommit">true</property>
but problems exist.
please help. thanks.


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.