Is there any jpa 1.0 fluent api/interface for query building? I'm using openjpa 1.x, so I'm stuck with JPA1.
I found QueryByProxy, but its maven repo is not working properly.
Is there any jpa 1.0 fluent api/interface for query building? I'm using openjpa 1.x, so I'm stuck with JPA1.
I found QueryByProxy, but its maven repo is not working properly.
If you're stuck with JPA 1.0, then consider using Querydsl that provides a fluent typesafe API on top of JPA. You'll have to use a version prior to 1.6.0, i.e. 1.5.4 (they switched to JPA 2.0 in 1.6.0). This is IMO your best option.
Short answer is no. However it depends on the provider you are using. For instance if you are using Hibernate, you can always get the Criteria api from hibernate. However in JPA 1.0 this is not supported. In JPA 2.0 however it is.