http://ctpjava.blogspot.com/2011/11/cdi-query-module-first-alpha-released.html
Perhaps a nice addition to Seam Persistence?
-Ales