LPS-36179

Hey Matt,

This fixes wildcards for a user database search that one of our customers is using with a custom portlet by appending escapes into keywords and for oracle adding the ESCAPE syntax, this should resolve the issue for MySQL and Oracle and allow other databases to be added to it later, but I am submitting this now because it is time sensitive for the customer.