Today, at work, one of my team’s developers was facing a problem regarding using an enum property as the type of the property he wanted to filter in a list of results, implemented using JBoss Seam.
When he asked for my help, it was just like a deja vu! Fortunately, I had already been in a similar situation (and not a long time ago, too!).
On the other hand, I had no written recipe with my findings yet. That resulted in time lost by my colleague. Hopefully, and to avoid this in the future, here is the recipe with the solution to his problem.