I just found this comment on org.hibernate.service.Service:
/**
* Marker interface for services.
*
* NOTE : All services must be {@link Serializable}!
*
* @author Steve Ebersole
*/
public interface Service extends Serializable {
What kind of bad things will happen to us if violating this
Hmm, not sure why I wrote that. I don't think they have to actually
given how we "serialize" the SessionFactory.
On 09/26/2012 07:24 AM, Sanne Grinovero wrote:
> I just found this comment on org.hibernate.service.Service:
>
> /**
> * Marker interface for services.
> *
> * NOTE : All servi
On Wed 2012-09-26 13:24, Sanne Grinovero wrote:
> I just found this comment on org.hibernate.service.Service:
>
> /**
> * Marker interface for services.
> *
> * NOTE : All services must be {@link Serializable}!
> *
> * @author Steve Ebersole
> */
> public interface Service extends Serializa
quoting IRC conversation:
sannegrinovero: ah i remember why...
Configuration
we have tests that explicitly test serializing Configuration
and services not being Serializable can cause those to fail
of course thats a transitory concern
like i said in the email prior to emmanuel's semi-harsh
r