Hello Matt,

a short addition: The HibernateExtensionPostProcessor you pointed to,
doesn't seem to allow this kind of extension. The only solution seems to
be to draw in the sessionFactory-definition into the
applicationContext.xml of the core module.

Kind regards,
Tobias 

> -----Original Message-----
> From: Matt Raible [mailto:[EMAIL PROTECTED] 
> Sent: Thursday, February 14, 2008 4:56 PM
> To: [email protected]
> Subject: Re: [appfuse-user] Hibernate Interceptor
> 
> You should be able to use HibernateExtensionPostProcessor to do this:
> 
> http://tinyurl.com/35b53w
> 
> Matt
> 
> On Feb 14, 2008, at 8:17 AM, Tobias Vogel wrote:
> 
> > Hello list,
> >
> > I've got a short question regarding Interceptors for Hibernate in
> > AppFuse-2.0
> >
> > Normally, I'd just add the interceptor to the sessionFactory
> > bean-definition using the property "entityInterceptor". But in
> > AppFuse-2.0 the definition of the sessionFactory is bundled in the
> > appfuse jars. Is it enough to copy the 
> applicationContext-dao.xml from
> > the AppFuse-SVN to my local project and modify it, or will I get
> > problems with this approach (regarding updates or conflicts)?
> >
> > Another possibility I thought of, was adding it to the
> > "hibernate.cfg.xml", but looking at the DTD it only seems 
> to allow to
> > define event-listeners but no interceptors.
> >
> > Kind regards,
> > Tobias
> >
> > 
> ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> 
> 
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> 
> 

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to