title: Hibernate: is there the way to use "like" expression in filters?
body: <p>I use hibernate filters massively, but face the problem with using <strong>like</strong> expression together with '%' literals. So, I can use this:</p>
  
  <pre><code>@Filter(name = "filterOnTS", condition = "lower(m.name) like :carName)"),
  </code></pre>
  
  <p>but cannot this:</p>
  
  <pre><code>@Filter(name = "filterOnTS", condition = "lower(m.name) like '%:carName%')"),
  </code></pre>
  
  <p>As in this case Hibernate regards <strong>%:carName%</strong> as the literal. Can I override this behaviour somehow?</p>