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.