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/
Follow SimpleJPAQuery
Other Useful Business Software
Enterprise-grade ITSM, for every business
Freshservice is an intuitive, AI-powered platform that helps IT, operations, and business teams deliver exceptional service without the usual complexity. Automate repetitive tasks, resolve issues faster, and provide seamless support across the organization. From managing incidents and assets to driving smarter decisions, Freshservice makes it easy to stay efficient and scale with confidence.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of SimpleJPAQuery!