API « Performance « JPA Q&A





1. Dynamic query with HibernateCritera API & Oracle - performance    stackoverflow.com

I have to use Hibernate and retrieve data from Oracle but the problem is, that the number of parameters passed to the query is not always the same. For the sake of ...

2. Performance Hibernate against jdbc api    java-forums.org

hi frnds, my old application uses the jdbc connection,resultset,statement objects... i have to increase my performace of my application... by using hibernate is it posssible to increase that... and i have another condition that i have to use same code for diffrent databases like sql-server2000 and oracle so please give guideline about this i am so confuse.. thanx and regards, JavaDev48 ...

3. Which is more performance effective ? HQL or Criteria api?    forum.hibernate.org

Hi, I have to get data from the database from different tables using multiple conditions (using joins) . so i thought of using Criteria api -- DetachedCriteria, Restrictions class etc. But i feel the hql is simpler, also supports joins and im afraid using Criteria api may degrade the performance comparitively. Can anyone tell me which is better to use for ...

4. Improve performance of a query using Criteria API    forum.hibernate.org

Hi, i have a query generated via Criteria that is working well, but i like to improve its performance. I have 2 entities in this case. These are "Question" and "Disease". Each question has a disease. My query should return a list of all diseases that exists in at least one question. Right, here are the .hbm.xml of involved entities. Code: ...