users@jpa-spec.java.net

[jpa-spec users] CriteriaBuilder outside of the JPA spec

From: John D. Ament <john.d.ament_at_gmail.com>
Date: Tue, 5 Jul 2011 09:05:58 -0400

Hi all,

I'm just wondering, is it feasible to move the CriteriaBuilder API to
outside of the JPA spec, to allow other EE services to reuse it? One
thought I've had is to allow JMS to use the criteria builder for generating
selectors, but since it's in the JPA spec it makes it difficult to integrate
(since it requires the JPA technology to use it). HOwever, if Crtieria were
outside JPA it would be smoother to use it (since it would require the full
JPA stack to use).

John