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]

Reply via email to