Now instead of creating named queries, or writing down your queries in JPA, all you need is to fill a bean of the JPA class you want to query and call the "findByExample" method, and it will filter accordingly. You can also customize how the query is built by some annotations that can be added to the JPA class (@Exact for exact string instead of using like, @Exclude to exclude fields or a value for this field, @From and @To for date ranges... and more). Check this url for a blog describing how it works http://engmohamedafifi.wordpress.com/2015/03/08/simple-jpa-query/

Project Activity

See All Activity >

Follow SimpleJPAQuery

SimpleJPAQuery Web Site

Other Useful Business Software
Gen AI apps are built with MongoDB Atlas Icon
Gen AI apps are built with MongoDB Atlas

The database for AI-powered applications.

MongoDB Atlas is the developer-friendly database used to build, scale, and run gen AI and LLM-powered apps—without needing a separate vector database. Atlas offers built-in vector search, global availability across 115+ regions, and flexible document modeling. Start building AI apps faster, all in one place.
Start Free
Rate This Project
Login To Rate This Project

User Reviews

Be the first to post a review of SimpleJPAQuery!

Additional Project Details

Registered

2015-02-25