[hibernate-commits] Hibernate SVN: r10811 - branches/Branch_3_2/Hibernate3/src/org/hibernate/cache
hibernate-commits at lists.jboss.org
hibernate-commits at lists.jboss.org
Wed Nov 15 09:44:35 EST 2006
Author: steve.ebersole at jboss.com
Date: 2006-11-15 09:44:34 -0500 (Wed, 15 Nov 2006)
New Revision: 10811
Modified:
branches/Branch_3_2/Hibernate3/src/org/hibernate/cache/UpdateTimestampsCache.java
Log:
HHH-2082 : bug in isUpToDate
Modified: branches/Branch_3_2/Hibernate3/src/org/hibernate/cache/UpdateTimestampsCache.java
===================================================================
--- branches/Branch_3_2/Hibernate3/src/org/hibernate/cache/UpdateTimestampsCache.java 2006-11-15 14:44:21 UTC (rev 10810)
+++ branches/Branch_3_2/Hibernate3/src/org/hibernate/cache/UpdateTimestampsCache.java 2006-11-15 14:44:34 UTC (rev 10811)
@@ -85,8 +85,9 @@
if ( log.isDebugEnabled() ) {
log.debug("[" + space + "] last update timestamp: " + lastUpdate + ", result set timestamp: " + timestamp );
}
- return lastUpdate.longValue() < timestamp.longValue();
-// if ( lastUpdate.longValue() >= timestamp.longValue() ) return false;
+ if ( lastUpdate.longValue() >= timestamp.longValue() ) {
+ return false;
+ }
}
}
return true;
More information about the hibernate-commits
mailing list