|
@ -42,9 +42,7 @@ public class SQLTimeAdvice {
|
|
|
|
|
|
@Around("execution(* org.springframework.jdbc.core.JdbcTemplate.batchUpdate*(..)) " +
|
|
|
"|| execution(* org.springframework.jdbc.core.JdbcTemplate.query*(..)) " +
|
|
|
"|| execution(* org.springframework.jdbc.core.JdbcTemplate.execute*(..)) " +
|
|
|
"|| this(org.springframework.data.repository.Repository) " +
|
|
|
"|| this(org.springframework.data.jpa.repository.JpaSpecificationExecutor)")
|
|
|
"|| execution(* org.springframework.jdbc.core.JdbcTemplate.execute*(..)) " )
|
|
|
public Object process(ProceedingJoinPoint point) throws Throwable {
|
|
|
if (!adminClientProperties.getSql()) {
|
|
|
return point.proceed();
|