Skip to content

Moocar/easy-jpa-query

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 

Repository files navigation

The hibernate generated meta model is awesome, but the Criteria Query framework sucks. This library lets you write awesome queries that actually look like sql, but with the full power of the generated metamodel. Queries look like this:

bicycles = easyQuery
        .select(Bicycle.class)
        .where(Bicycle_.model).equals("Raleigh")
        .orderBy(Bicycle_.timestamp).asc()
        .getResultList();

Check out src/test/java/easyquery/EasyjpaQueryTest for more examples

mvn clean install to install it into your local repo.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages