title: How can I stop Spring JPA from escaping the arguments to a query method?
body: <p>In my Spring JPA application, I have a query method called findAllByNameContaining that works for simple, one word arguments.</p>
  <p>For instance, with a record in the database having a field value of 'Foo bar zed', the query method will return the record if called with 'Foo'.</p>
  <p>However, I'd like the record to be retured if the query method is called with 'Foo zed'. I tried to replace spaces in the search term with '%'. This returned nothing and when I checked the generated SQL, I see that the '%' that I added to the search term was escaped. I understand this is likely to be protection against SQL injection, but I was wondering if there's anyway to stop Sopring escaping. I can validate the arguments myself to protect against SQL injection.</p>