Skip to content

Instantly share code, notes, and snippets.

@edalquist
Created October 10, 2011 18:39
Show Gist options
  • Save edalquist/1276132 to your computer and use it in GitHub Desktop.
Save edalquist/1276132 to your computer and use it in GitHub Desktop.
Index: persistenceContext.xml
===================================================================
--- persistenceContext.xml (revision 25216)
+++ persistenceContext.xml (working copy)
@@ -41,14 +41,19 @@
<aop:config>
<aop:pointcut id="jpaDaoExecution"
expression="execution(* org.jasig.portal.*.dao.jpa.Jpa*Dao.*(..))"/>
+ <aop:pointcut id="prefsStoreExecution"
+ expression="execution(* org.jasig.portal.portlet.container.services.PortletPreferencesServiceImpl.*(..))"/>
+
<aop:pointcut id="daoExecution"
expression="execution(* org.jasig.portal.*.dao.*.*(..))"/>
<aop:advisor advice-ref="jpaInterceptor" pointcut-ref="jpaDaoExecution"/>
+ <aop:advisor advice-ref="jpaInterceptor" pointcut-ref="prefsStoreExecution"/>
<aop:aspect ref="threadContextClassLoaderAspect">
<aop:around pointcut-ref="jpaDaoExecution" method="doThreadContextClassLoaderUpdate"/>
+ <aop:around pointcut-ref="prefsStoreExecution" method="doThreadContextClassLoaderUpdate"/>
</aop:aspect>
<aop:aspect ref="sqlNextExceptionLoggerAspect">
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment