Just talking to @markfisher - should we maybe have a **query-expression** on the JDBC Adapter? I think this would solve the issue. I think this should not be too tricky to implement.