title: setQueryParams; Parameter value did not match expected type
body: <p><img src="https://i.stack.imgur.com/mv1GB.png" alt="enter image description here"></p>
  
  <p><img src="https://i.stack.imgur.com/L3lX6.png" alt="enter image description here"></p>
  
  <p>Ok, so I have the user inputing a date, which is to be queried in java using <strong>em.createQuery</strong>.  As you can see from the screenshots, I have the input data going in as <strong>pattern="dd-MMM-yy</strong> (thats how its stored in the server), but I have also tried this without the pattern tag and it still does not work.  The actual error is at the <strong>setQueryParams(q)</strong> though and I haven't been able to figure out what it is.  Anyone have an idea to where I might look?  THanks.</p>