Re: [Hibernate] Extending Session

2004-02-05 Thread Christian Bauer
On 05 Feb (14:48), Ugo Cei wrote: > public Serializable save(Object obj) { > // Do something before saving ... Thats the job of an Interceptor? -- Christian Bauer [EMAIL PROTECTED] http://www.hibernate.org/ --- The SF.Net email is spon

Re: [Hibernate] Extending Session

2004-02-05 Thread Ugo Cei
Emmanuel wrote: It seems to me that it's not a common case at all Of course it's not that common. If it were, maybe someone else would have solved this problem by now :-). My use case is as follows: I need to add behavior to a Session's save, update, saveOrUpdate methods. As things stand, I can

Re: [Hibernate] Extending Session

2004-02-04 Thread Emmanuel
It seems to me that it's not a common case at all. I'm intend believe it has more drawbacks to "pollute" the public API with such a need than stay that way. Ugo Cei wrote: [I'm reposting this message since it didn't get any attention the first time I did (more than 2 months ago). Maybe people