Interesting use of optimizing sql query plans down to JVM byte code. I don't think anybody has done that before - but it sounds like it would work really well. Would be really interesting to hear more on that as it might be applicable to a lot of other areas as well.