Commit 3701793e by WeiCong

区分key

parent 75494fa3
......@@ -69,6 +69,7 @@ public abstract class AbstractCache implements CacheController {
private String generateKey(Object o, int maxSize, int offset) {
StringBuffer sb = new StringBuffer(cacheName);
sb.append(SPLIT.intern());
sb.append(o.getClass().getSimpleName()).append(SPLIT.intern());
if (o instanceof EibsResultSet) {
sb.append(((EibsResultSet) o).getSql());
} else {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment