Created
October 10, 2011 18:39
-
-
Save edalquist/1276132 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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