This commit is contained in:
kamhung
2015-11-25 11:48:56 +08:00
parent 21efd6c34c
commit c84894da27

View File

@@ -804,7 +804,7 @@ public final class DataDefaultSource implements DataSource, Nameable {
//---------------------------------------------------
final EntityCache<T> cache = info.getCache();
if (cache == null) return;
T rs = cache.update(id, (Attribute<T, Serializable>) info.getAttribute(column), value);
T rs = cache.update(id, info.getAttribute(column), value);
if (cacheListener != null) cacheListener.updateCache(info.getType(), rs);
} catch (SQLException e) {
throw new RuntimeException(e);