-->
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.  [ 2 posts ] 
Author Message
 Post subject: HQL, Formula and cache issue
PostPosted: Tue May 20, 2008 10:57 am 
Beginner
Beginner

Joined: Sun Oct 22, 2006 12:06 pm
Posts: 39
Hi!

I have entity where are described calcualted formulas. The formula works fine on first time quering like from materialBalance mb;

If I change the data, sql profiler shows that sql is executed and data retrieaved, but formula property values won't be updated.

When I do session.Flush() and execute hql
Formula values will be updated. Also I noticed that by changing simple property value in database and requering will not update values.

But the sql server will execute the sql but values are not updated???

Is this a bug?


Top
 Profile  
 
 Post subject: Re: HQL, Formula and cache issue
PostPosted: Tue Jun 01, 2010 8:41 pm 
Newbie

Joined: Mon Apr 26, 2010 10:18 pm
Posts: 2
Hi,

I know this topic is old, but I have exactly the same issue, did you find a way to fix it?

Thanks


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

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.