Problem « Performance « JPA Q&A





1. Hibernate 3.5.0 causes extreme performance problems    stackoverflow.com

I've recently updated from hibernate 3.3.1.GA to hibernate 3.5.0 and I'm having a lot of performance issues. As a test, I added around 8000 entities to my DB (which in turn ...

2. Performance problems using JPA    stackoverflow.com

I am using JPA in my web application (hibernate is the vendor) and I am confused regarding performance of queries. In my code I use the following query:

select c.id from Cdr c ...

3. Hibernate Performance Problem    forum.hibernate.org

Author Message ThomasGo Post subject: Hibernate Performance Problem Posted: Thu Mar 25, 2010 11:47 am Beginner Joined: Tue Nov 03, 2009 9:38 am Posts: 22 Hi, We have a performance problem with Hibernate 3.3.2 which we aren't able to figure out completely: We have a user import which either creates or updates users. The performance of this import seems ...

4. Hibernate Performance Problem    forum.hibernate.org

Hi, I have hibernate 3.3.1, I have this hql query; String sqlQuery = "select distinct pratica from PraticaBean as pratica " + "left join fetch pratica.zona " + "left join fetch pratica.dettagliPratica " + "left join fetch pratica.abusi ab " + "left join fetch ab.caratteristiche " + "left join fetch ab.naturaDelVincolo " + "left join fetch ab.comunicante " + "left join ...

5. Performance problem with Maven, Hibernate & SLF4J-JDK    forum.hibernate.org

Hi, just writing to let you know of a performance bug we hit with certain "out-of-the-box" Hibernate combo with Maven build system. I don't know who is responsible of providing Hibernate builds in the Maven repository, so I'll just write this here, in case anyone happens to Google upon it :). We're using Hibernate Entity manager 3.4.0 GA and the Maven ...

6. Performance Problems    forum.hibernate.org

Author Message Dejan Marlovic Post subject: Performance Problems Posted: Thu Apr 28, 2011 8:38 am Newbie Joined: Thu Apr 28, 2011 6:40 am Posts: 3 Hi Im doing some Performance testing on different ORM-tools and Im new to Hibernate. For my testing of Hibernate I have created two Classes: CustomerT and CustomerDetailsT and mapped them using JPA annotations. relationship ...

7. performance problem, upgrade to 2.11    forum.hibernate.org

hi, no peopole would answer my question :(, mabye i didn't show the detail. now, i show the detail code , hope to get some advice. There are not more than 100 records in the db2 8.1. I also find it spend more time to save a object at 2.11. for (int i = 0; i < arg.length; i++) { daoSupport.queryList("user.findby.name", ...

8. Performance problem    forum.hibernate.org

Hi, Loading objects in hibernate seems to be very slow for large data sets, We tried Loading the same set of data using simple jdbc call and the results are significantly better than hibernate. We are using Hibernate 2.0, MS SQL 8.0 on Windows XP Platform. Could anybody tell us what are we doing wrong here? Here's is the code to ...

9. Performance problem    forum.hibernate.org

Hi all, I have a file (csv) having 216680 lines. I use this information and load the information into the Database after a bit of processing the data. I am not loading the whole file into memory. I read record-by-record. After processing about 100000 records, I see a lot of decrease in the perfomance of my program. I am seeing this ...





10. One to many set performance problem    forum.hibernate.org

Senior Joined: Sun Oct 26, 2003 5:05 am Posts: 139 Hi, I'm currently using spring+hibernate+postgres and I have a pretty severe performance problem when store/updating many-to-many relationships (but I'm just editing one side of the relation). Since I'm using spring, I did a execution time test and see that the costs for updating these relationships is very high. Even for updating ...

11. Performance problem    forum.hibernate.org

[b]Hibernate version:[/b] 2.1.6 [b]Mapping documents:[/b]

17. performance problems with hibernate    forum.hibernate.org

Hi all, i'm developing a CAA (Computer Aided Assessment) application with Struts,Hibernate,Jboss,Firebird database. i tested my application, simulating a University exam test with about 45 students, and all gone very slow. So i've noticed that i used hibernate default connections pool manager with these parameters : hibernate.connection.pool_size = 1 hibernate.statement_cache.size = 25. Is this the cause of slow perfomance of my ...

18. Hibernate 3.2 CR 1 + JOTM performance problem    forum.hibernate.org

Our application currently uses Hibernate 3.0.5 and JOTM. We've noticed that in testing Hibernate 3.2 CR 1, we see performance degradation. Many of the threads run into a lock contention issue, similar to the following: Code: at sun.net.www.protocol.jar.JarFileFactory.get(Unknown Source) - waiting to lock <0x2da8f980> (a sun.net.www.protocol.jar.JarFileFactory) at sun.net.www.protocol.jar.JarURLConnection.connect(Unknown Source) ...

19. PERFORMANCE PROBLEM with setFirstResult and setMaxResults    forum.hibernate.org

Dear All, i'm using HIBERNATE 3.1 deploied in JBOSS 4.0.2 and PROGRESS DB. When i want to execute this query: Criteria query = session.createCriteria(persistentClass); query.setFirstResult(pageSize * pageNum); query.setMaxResults(pageSize); with pageNum (page Number) >0 the respose takes seconds (near a minute!), instead when i ask for the page 0 the result is returned very quickly. Can you suggest to me why and ...

20. Performance Problem with Hibernate 3.2.0 GA comp. 3.2.0 RC2    forum.hibernate.org

Hallo, we've used the Hibernate for Version 3.2.0 CR 2 with Hibernate Annotations and Proxy interfaces for Lazy initialization. After we changed to Version 3.2.0 GA our Application is 5-7 times slower than before. My Java Profiler says that the Class org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.addCheckingTypes is called over 11 Million times (with recursion). This method was not present in the old release candidate. The ...

21. problem with hibernate query performance    forum.hibernate.org

Newbie Joined: Mon Dec 18, 2006 6:49 am Posts: 1 Hello everyone:) I`m very new in hibernate and maybe my problem is very easy to solve but i've spent several hours on searching google and other forums and nothing. My application inserts data from xml file to PostgreSQL(version: 8.1.3) database and it takes over 4 minute for 1000 records. That's way ...

22. Performance problems with insertions.    forum.hibernate.org

Hi Hibernate version: 2.1.8 Database: Oracle 8i I am currently facing performance issues with insertions in hibernate. I have an object graph similar to below: Company Employee WorkArea I have one-to-many associations between Company to Employee. And I have 100's of Employees to insert into the database. Note that this is just a simple case, but my object graphs goes into ...

23. Performance Problems with Hibernate 3.2.4.sp1 (Seam2)    forum.hibernate.org

Hi all, We have recently migrated our application to Seam 2.0.0.GA which included Hibernate 3.2.4.sp1. We were previously using Seam 1.1.0.CR1 along with Hibernate 3.2.3.GA. We did some research in order to optimize performance and tweaked with the default properties of entity manager as configured in persistence.xml Code: ...

24. problem with hibernate performance    forum.hibernate.org

Hello Sir, I am using hibernate 3.0,mysql using glassfish server. Where it is taking time to retrieve data from tables. Iam having lot of tables in the database and daily i am restarting my server because of out of memory. How i can solve this bug. Hope you help me. Thank you, Madhu.

25. Performance Problem - Hibernate generating too many queries    forum.hibernate.org

Can anyone help me figure out why Hibernate is generating thousands of queries when I expect to to only generate a handful of queries? We are building a web application using JSF, Hibernate, Spring and several other frameworks. We are using the Java Annotations for Hibernate and although we are getting the correct results the performance of our system is dismal. ...

26. Hibernate query performance problem    forum.hibernate.org