Menu

#7 jdbc insert.composite incorrect filtering on composite field

v0.7
open
nobody
5
2014-02-15
2014-02-15
No

MyVD trunc 183
Using composite to create an attr "cn" joining together "givenName" and "sn".
The search on the composite field incorrectly resolves to

"WHERE" givenname like "%value%" AND sn like "%"

instead of the more correct:

"WHERE" givenname like "%value%" OR sn like "%value%"

(Sql catched by sniffing lo:3306)

Discussion


Log in to post a comment.