improve « Performance « JPA Q&A





1. How to Improve performance of query?    forum.hibernate.org

Hi I have written a function which fetch one city of a particular state the hbm mapping of files are given below: city.hbm city_sequence State.hbm state_sequence

2. Improve performance    forum.hibernate.org

Hi: When I use Hibernate it takes about 16 ms to perform the session.save() method but the session.flush() takes about 500 ms to save one record in the Oracle 9i database. This record makes 15 inserts in 11 different tables. Is there any way to improve the performance of the inserts? My method is as follows: Code: public void createOneClaim() throws ...

3. How to improve performance in my case?    forum.hibernate.org

In my application, there is a confused problem. There are two tables (A,B). Association like one-to-one, many-to-one is exist. But in application, some query need infomation from two tables and the other only need infomation of table A. If I config the association in hbm and java class, hibernate will select two tables all columns for me. But sometime I only ...

4. Seting up Ehcache to improve performance    forum.hibernate.org

5. Bypassing the cache to improve performance    forum.hibernate.org

Our application processes large volumes of data. For certain batch processing use cases, we have found that the Session cache overhead required to flush() the cache before queries is prohibitively expensive. In the short run, we are fixing things by disabling auto-flush. However, what we'd really like to do is use Hibernate to load data into the JVM without having persistent ...

6. How to improve the performance of Hibernate Application    forum.hibernate.org

HI I'm working on porting my existing application running in client specific to Hibernate . i was done mostly with that application but i have my own concerns regarding the performance of that . what are all the areas in need to concentrate on doing this . how to do session management ? when to use first level caching/ second level ...

7. How to improve the performance?    forum.hibernate.org

Hi, I need of a suggestion to improve the performance of my code. For example: I have two entities, User and Address. Each User has a Address attribute, as LAZY association. This model is ok, because only sometimes I need to read the Address from a User. But in a screen of my system I need to simulate a EAGER. I ...

8. how to improve performance while fetching >than 5000 reco    forum.hibernate.org

Hi All I have a query , when ever i iam getting 400 -500 records it is taking 3-4 sec. but when iam getting around 5000 record it is taking more time around 3 min in local system. the method is public List getAllSourcedCandiadtes(String startingDate, String endingDate) { return (List) getHibernateTemplate().find( "select distinct prospectiveCandidates from ProspectiveCandidates prospectiveCandidates where prospectiveCandidates.appliedDate between '" ...