wildcard « Search « JPA Q&A

1. Wildcard search on Date fields    stackoverflow.com

I use HSQLDB2.0 and JPA2.0 for my current project and have few date columns in DB. I would like to run wildcard queries on the date columns. How could I do that? Ex ...

2. Wildcard search (like *searchstring*) to filter a set    forum.hibernate.org

Hi all, I have a one-to-many association so that a parent holds a collection of child objects and i want only to return these parents who have a child in the collection according to a specific name. But not only "Test" should return the parent but also "es". class Parent{ public Set getChildren() } class Child{ String name; }