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

26 views
Skip to first unread message

煊赫

unread,
Feb 24, 2021, 2:54:14 AM2/24/21
to mybatis-user
If not, which SQL will not be intercepted
Afraid of missing some SQL

Guy Rouillier

unread,
Feb 24, 2021, 3:57:56 AM2/24/21
to MyBatis User
SQL which is executed without first being prepared.  See statementType=STATEMENT.

--
Guy Rouillier

On 2/24/2021 2:54:14 AM, "煊赫" <kael31...@gmail.com> 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 mybatis-user...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/mybatis-user/780f206b-8a55-4952-9d9d-0f54e8ba374cn%40googlegroups.com.
Reply all
Reply to author
Forward
0 new messages