bulk « Load « JPA Q&A





1. HIbernate - bulk loading child objects    stackoverflow.com

How can I get NHibernate to hook up child objects automatically or bulk load children rather than lazy loading for each parent? I have a large number of parent objects all of ...

2. Bulk Fetching from a table in hibernate    stackoverflow.com

i have a table and from that i am fetching records somewhere between 250,000 records and this is taking some 25 mins, is there a way to decrease the fetch ...

3. Hibernate (jpa - ejb3) bulk loading issues    forum.hibernate.org

Newbie Joined: Tue Jul 05, 2011 10:49 am Posts: 1 I am reading in a large xml file and butting it into xml beans then comiting each record into the database. Without the hibernate database code it reads the 200MB xml file and puts them into xml beans in 30-60 seconds. The problem comes when we try to use hibernate to ...

4. bulk load by primary keys    forum.hibernate.org

One of our DAO's takes an array of primary key integer id's and returns an array of objects. The actual objects being loaded are updated very rarely and hence we are making heavy use of the second level cache. In most cases a good portion if not all of the objects will exist in the cache. Currently, with the use of ...

5. Bulk loading with hibernate , best solution?    forum.hibernate.org

Hi, I just finish a project doing just that, 50 tables and 5 gig of data each day dispatched on 2 different systems. Crash proof, generic and configurable (Spring), Thread pool configurable... First, I dont think Hibernate is design to do this kind of data transfert. It doesn't mean you cannot build your persistence layer with it for your apps, but ...

6. Bulk loading objects from two databases.    forum.hibernate.org

Hibernate version: 3.1.2 I'm not sure how achieve this but .... I have two databases. I have a list of objects I've obtained from a criteria.list() method call against the first database. I now want to load additional fields in these objects from a second database. My original code simply looped through the objects and did a session.refresh() using the second ...