collection « Performance « JPA Q&A





1. Hibernate performance with collection    coderanch.com

Hibernate Collection performance problem. I am facing significant performance problem when I add a item to the collection. As the number of items are added to the collection, the performance degrades. Take example of and Order and Order containing a set of items. In hibernate I do order.add(item) and the persist order. Each new item is added to the order in ...

2. Performance of Collections    forum.hibernate.org

I have a question about the performance of Hibernate collections. It is my understanding that before inserting a new record in to a "many" side of a Set or List collection, Hibernate needs to first load all the instances from the database into memory (ensure there are no duplicates for a Set and keep them in order for List). So, it ...

3. Performance problems with large 1-m Collections    forum.hibernate.org

I'm currently using OJB as O-R bridge, but want to switch to Hibernate because of the richer feature set. Before switching, I decided to do a little performance comparison, and the results surprised me. I hope someone can find a bug in my Hibernate example or point to some relevant information for tuning my code. The test uses 2 tables: a ...

4. Performance issue: collections containing collections    forum.hibernate.org

Hi, I recently stumbled over a performance issue that I want to describe first in a simple example. Imagine the following configuration: Code:

5. performance of collection    forum.hibernate.org

6. Performance problem with collections    forum.hibernate.org

well, if you think about it from only a database perspective, you don't have to retrieve the collection to remove it from said collection and then delete it from the db. if your parent object exists(with the collection instantiated) in your app at the time of deletion you do need to remove it from the collection if you want the delete ...

7. Cache collection performance    forum.hibernate.org

9. TreeNode and Collection Performance    forum.hibernate.org

Newbie Joined: Fri Nov 16, 2007 9:27 pm Posts: 5 Hi to all, I still try to create a TreeNode in memory, so serialized in db with Hibernate and so deserialized in memory with Hibernate, loading entire tree. This make do, but I've a performance problem. I attached the src of my test... Anybody have some idea to improve the performance? ...





10. Add to Collections - Performance Issue    forum.hibernate.org

Author Message bozidardangubic Post subject: Add to Collections - Performance Issue Posted: Sat Mar 08, 2008 10:34 pm Beginner Joined: Thu Mar 29, 2007 3:33 pm Posts: 24 Location: Washington DC I am having a huge performance problem when adding an element to the collection. I have two objects, OverdueLog and OverdueLogEntry that are linked through one-to-many relationship. Mapping ...

11. Large Collection Performance Issues    forum.hibernate.org

12. performance degradation with hibernate collection    forum.hibernate.org

Hi Experts, i have a performance issue in my application. i am using hibernate 3. here is description of the issue i have a hibernate parent object and it has a set child object (collection) single parent could have 20,000 children i read the parent and get all the child objects into a collection now i iterate over each child object ...