[hibernate-dev] Session factory name & clustering
Galder Zamarreño
galder at redhat.com
Mon Nov 10 05:17:47 EST 2014
Hi all,
Re: http://stackoverflow.com/questions/26110918/infinispan-marshalling-error-for-hibernate-entity-with-composite-primary-key
Re: https://github.com/hibernate/hibernate-orm/pull/820
Seems like the issue is resolved by making sure Session Factories have the same name.
Is this something new? I’ve never had the need to set it in order to get Hibernate 2LC clustered tests working. None of my unit tests set the session factory name. One of my most recent demos uses JPA, and never had to set hibernate.session_factory_name property.
Or is this due to the peculiarity of the Entity the user has? I’ve run some tests locally and SessionFactoryImpl.readResolve() does not seem to get called.
@Paul/@Scott, have you seen anything similar before?
Cheers,
--
Galder Zamarreño
galder at redhat.com
twitter.com/galderz
More information about the hibernate-dev
mailing list