process « Batch « JPA Q&A





1. Hibernate and Batch Update    stackoverflow.com

Although I can see a lot of discussions around Hibernate and Batch Update, here is my specific scenario I hope to get comments from you all experts. I am iterating through ...

2. batch processing - Hibernate Vs JDBC ?    coderanch.com

Kri, My experience has been that if you're already using Hibernate, writing your batches via HQL can be very effective. But there's lots of difficult issues, such as the very strict typing of inputs, that can make it painful to debug. But as Gregg points out, ultimately it gets translated into SQL regardless.

4. Batch Processing in hibernate    coderanch.com

5. batch processing fails    forum.hibernate.org

Hibernate version: 2.1.6 with MySQL 4.1 Hi, for testing purposes I have to insert multiple objects of a subclass Player which extends Person: public void testInsertMultiplePlayers() throws InfrastructureException{ PersonDAO personDAO = new PersonDAO(); int length = playersData.length; for(int i=0; i

6. Batch Processing in Hibernate 2.0    forum.hibernate.org

7. batch processing question    forum.hibernate.org

Hello, I read the article on batch processing, http://www.hibernate.org/hib_docs/v3/re ... batch.html but I have a little doubt. I have a 60.000 line file I have to load to the database, but I have to load the new data only. How can I accomplish that? I'm currently querying the database first to check if the data is already loaded, and if not, ...

8. Batch Processing Help    forum.hibernate.org

Thanks! I discussed it with my boss and we decided to divide the file in parts containing the maxium afordable register-count in a single session. The fact is that a file with a high register count (which could cause memory problems - 10.000 regs or more) will only be charged in the initial instalation process of the SW we're developing and ...

9. How to disable batch processing in Hibernate    forum.hibernate.org

Hello friends, We have a problem with how the batch processing works in one scenerio and would like to disable it. Here is the issue - 1. We begin a transaction. 2. We insert 2 records in table A. 3. Now we run a query on table A (plus few others in a join) that should return the sum of some ...





10. Batch processing    forum.hibernate.org

Im trying to batch saveOrUpdate but I keep getting NonUniqueObjectException errors. How can I pull of a batch saveOrUpdate where if one save/update fails, the whole process is rolled back? Code: session = HibernateUtil.getSessionFactory().getCurrentSession(); tx = session.beginTransaction(); for (int i = 0; i < records.size(); i++) { ...

11. Batch processing application - appropriate for Hibernate 3?    forum.hibernate.org

We are considering using Hibernate 3 for our batching processing application. The application will process 18 million records from an Oracle 9 database. Some Hibernate objects will be nested 5 deep. We've looked through the documentation and found nothing to cause concern. As long as the application flushes the first level cache regularly, JDBC batch is turned on, and there is ...

12. Understanding Batch Processing    forum.hibernate.org

Hi, This is probably a very basic question so I apologize for the simplicity. I have been unable to find an answer to my question so I thought I would give this a go. I am attempting to read data from a table and am trying to batch process the reads because the table has thousands of records. So in my ...

13. Hibernate Event Listener with Batch Processing    forum.hibernate.org

14. Question On Batch Processing in Hibernate    forum.hibernate.org

I'm fairly new to Hibernate and I am having some performance issue on inserts into the database. I have a couple of questions on how Hibernate does inserts into the database. so lets say I have the following piece of code. Session session = sessionFactory.openSession(); Transaction tx = session.beginTransaction(); for ( int i=0; i<1000; i++ ) { Customer customer = new ...