Author: steve.ebersole(a)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;