I'm trying to use the Criteria API to create a query with a query with a widely varying set of criteria, the alternative being to build it via string concatenation. The problem is that I'm trying to search off of an interface. The query API seems to handle this pretty well, but createCriteria throws an exception.
I understand that the Criteria API is still experimental and if this is something that's being worked on. If so, does anyone have a suggestion for a reasonable workaround? The implementing interfaces are a fairly static bunch, so some sort of joining strategy is an option.
If not, I guess I
|