Deserialization of session factory drops exception cause it can't be deserialized without name, because the there are only name/uuid stored. Thus Session Factory can't be serialized in common sense. Result of serialization is reference to JVM instance or JNDI resource.
readResolve method in SessionFactoryImpl. Set hibernate.session_factory_name in properties.
Подписаться на:
Комментарии к сообщению (Atom)
Комментариев нет:
Отправить комментарий