Thank you for the feedback, Paul.
I considered about it when I was working on this, but the problem is
that <include /> can contain dynamic tags like <if /> which depend on
the parameter passed at execution time.
It might be a good idea to provide another point of interception which
is for 'static' statement parsing (i.e. it does not depend on the
runtime factors like parameters and is executed only once).
The recent request (
https://github.com/mybatis/mybatis-3/issues/32 )
reminds me of this idea as well.
Would such interceptor satisfy your requirement?
Or any other suggestions?
p.s.
By the way, have you actually tried 'raw' statement and see if it
improves the performance?
I had ruined Eduardo's weekend for this and could use some positive feedback ;D
Regards,
Iwao
2013/4/19 Paul Krause <
paulkr...@alum.mit.edu>:
> --
> 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.
> For more options, visit
https://groups.google.com/groups/opt_out.
>
>