Is there any way that Criteria for qureies can be built on a remote (Swing/SWT etc) client? We've been using the DetachedCriteria functionality in Hibernate for quite some time, but would like to use standard JPA 2.
If not, could the code from hibernate be re-factored to create the remote API? Or is this something that might come along in JPA 2.1?