simple select or update sql all be intercepted by @Intercepts(@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class, Integer.class})?

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

simple select or update sql all be intercepted by @Intercepts(@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class, Integer.class})?

煊赫
If not, which SQL will not be intercepted
Afraid of missing some SQL

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/780f206b-8a55-4952-9d9d-0f54e8ba374cn%40googlegroups.com.
Reply | Threaded
Open this post in threaded view
|

Re: simple select or update sql all be intercepted by @Intercepts(@Signature(type = StatementHandler.class, method = "prepare", args = {Connection.class, Integer.class})?

Guy Rouillier-2
SQL which is executed without first being prepared.  See statementType=STATEMENT.

--
Guy Rouillier

On 2/24/2021 2:54:14 AM, "煊赫" <[hidden email]> wrote:

If not, which SQL will not be intercepted
Afraid of missing some SQL

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/780f206b-8a55-4952-9d9d-0f54e8ba374cn%40googlegroups.com.

--
You received this message because you are subscribed to the Google Groups "mybatis-user" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/emf0119d87-3c80-4eee-b314-c728537704ba%40asus.