You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have found this issue that discusses the problem:
[https://github.com//issues/228]
... however I don't understand if or how the issue was resolved. The documentation mentions a NonRenderingWhereClauseException that should be thrown with the default configuration, however this is not the behavior I am seeing with org.mybatis.dynamic-sql:mybatis-dynamic-sql:1.4.1: the condition is simply dropped and the entire table is returned.
Looking through the source code of the IsIn class I don't see that exception being used anywhere... am I missing something? I tried explicitly setting nonRenderingWhereClauseAllowed to true in a global config file and that didn't make any difference.
Above all, why can't IsIn() simply be rendered as "WHERE FALSE"??? This seems like the natural, safe, easy thing to do?
The text was updated successfully, but these errors were encountered:
I have found this issue that discusses the problem:
[https://github.com//issues/228]
... however I don't understand if or how the issue was resolved. The documentation mentions a NonRenderingWhereClauseException that should be thrown with the default configuration, however this is not the behavior I am seeing with org.mybatis.dynamic-sql:mybatis-dynamic-sql:1.4.1: the condition is simply dropped and the entire table is returned.
Looking through the source code of the IsIn class I don't see that exception being used anywhere... am I missing something? I tried explicitly setting nonRenderingWhereClauseAllowed to true in a global config file and that didn't make any difference.
Above all, why can't IsIn() simply be rendered as "WHERE FALSE"??? This seems like the natural, safe, easy thing to do?
The text was updated successfully, but these errors were encountered: