[hibernate-dev] Why do Services need to be Serializable?

2012-09-26 Thread Sanne Grinovero
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

Re: [hibernate-dev] Why do Services need to be Serializable?

2012-09-26 Thread Steve Ebersole
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

Re: [hibernate-dev] Why do Services need to be Serializable?

2012-09-26 Thread Emmanuel Bernard
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

Re: [hibernate-dev] Why do Services need to be Serializable?

2012-09-26 Thread Sanne Grinovero
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