diff --git a/Zutil.jar b/Zutil.jar index f20f212..152064d 100755 Binary files a/Zutil.jar and b/Zutil.jar differ diff --git a/src/zutil/db/bean/DBBeanSQLResultHandler.java b/src/zutil/db/bean/DBBeanSQLResultHandler.java old mode 100644 new mode 100755 index eca167d..e2124bc --- a/src/zutil/db/bean/DBBeanSQLResultHandler.java +++ b/src/zutil/db/bean/DBBeanSQLResultHandler.java @@ -169,7 +169,7 @@ public class DBBeanSQLResultHandler implements SQLResultHandler{ } if( removed > 0 ) - logger.info("DBBeanGarbageCollector has cleard "+removed+" beans from cache."); + logger.info("DBBeanGarbageCollector has cleared "+removed+" beans from cache."); } } @@ -315,7 +315,7 @@ public class DBBeanSQLResultHandler implements SQLResultHandler{ // Check if the cache is valid if( item != null ){ // The cache is old, update and return it - if( item.timestamp+CACHE_TTL > System.currentTimeMillis() ){ + if( item.timestamp+CACHE_TTL < System.currentTimeMillis() ){ // There is no ResultSet to update from if( result == null ) return null;