The Hibernate interfaces that you implement to provide event listeners, for example: org.hibernate.event.PostInsertEventListener;
all extend Serializable.
However, it doesn't seem to explain anywhere why your listeners need to be serializable. We've been injecting DAOs with database connections into them for a while, and it hasn't failed yet, however I'm worried that there might be a case where Hibernate will pass the listener over a serialized link, and so lose the database connection.
So the question is: Why do hibernate event listeners have to be serializable?