Usage of P6Spy with datasource in Spring applicationContext.xml
问题 I am using Hibernate 4, Spring 3, JSF 2.0 and Weblogic 10.3.6 as server. I have created datasource on Weblogic server and in applicationContext.xml I have defined datasource as <!-- Data Source Declaration --> <bean id="DataSource" class="org.springframework.jndi.JndiObjectFactoryBean"> <property name="jndiName" value="jdbc/myDS"/> </bean> If I would want to use the P6Spy for logging SQL parameters, how can and where I should add the following in applicationcontext.xml? <property name=