Make CacheImpl serializable
git-svn-id: https://svn.jboss.org/repos/hibernate/core/trunk@17181 1b8cb986-b30d-0410-93ca-fae66ebed9b2
This commit is contained in:
parent
d669cfb81c
commit
a4e169d05d
|
@ -958,7 +958,7 @@ public final class SessionFactoryImpl implements SessionFactory, SessionFactoryI
|
|||
|
||||
private final Cache cacheAccess = new CacheImpl();
|
||||
|
||||
private class CacheImpl implements Cache {
|
||||
private class CacheImpl implements Cache, Serializable {
|
||||
public boolean containsEntity(Class entityClass, Serializable identifier) {
|
||||
return containsEntity( entityClass.getName(), identifier );
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue