Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7950425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 4, 20262026-06-04T02:16:06+00:00 2026-06-04T02:16:06+00:00

I have to create a query in our backend application using the parameters obtained

  • 0

I have to create a query in our backend application using the parameters obtained from the client. Consider this diagram:

enter image description here

I have entities (Type field), those entities’ fields (Parameter), a relation, a value and an operand. So in sql terms the table above translates to this:

... WHERE Item.reach_complience = ”<1%”
  and  Item.technical.type = ”RES”
  and  Item.technical.value <=  ”1k”
  and  Item.technical.value >= ”4K7”
  and  (Item.technical.footprint = ”RC0603” or Item.technical.footprint = ”RC0805”)
  and  Item.classification.incurrent_handling = ”prefered-to-use”

I really don’t want to reinvent the weel here, so my question is:
Is there a Criteria factory libarary which uses JPA or more specifically Hibernate or is there some 3rd party library which can be used to create criteria queries? We are using Eclipse RCP on the frontend and data arrives to the backend (Spring) through an Apache Cxf service. I wish to write maintainable using JPA’s query syntax.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-04T02:16:09+00:00Added an answer on June 4, 2026 at 2:16 am

    Yes. I think ISearch is the best: http://code.google.com/p/hibernate-generic-dao/wiki/Search

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

We have an WCF application which uses NHibernate to query data from the database.
I have to create an SQL Query to get all rows starting with a
Say I have written a Create Table script in a query window and run
I'm trying to create a faster query, right now i have large databases. My
I have written a DB2 query to do the following: Create a temp table
Does anyone have any idea on how can you create a product filtering query
Im trying to create a select command to query the database I have and
I'm using MS SQL 2005 and I have created a CTE query to return
I have a form where when it was created it will this query public
We're using Criteria frequently in our project for dynamic query generation. I really love

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.