key « Batch « JPA Q&A





1. Could not execute JDBC batch update - with composity key    forum.hibernate.org

Newbie Joined: Wed Dec 02, 2009 7:57 am Posts: 2 Hello. I have three entities called (spanish) Macroproceso, Proceso and TipoEntregable. Macroproceso has many Proceso and Proceso has many TipoEntregable. All the keys are natural keys: Macroproceso has "codigo". Proceso has "codigo" and "codigo_macroproceso" because codigo is not unique. "codigo_macroproceso" is also FK to Macroproceso. TipoEntregable has "codigo", "codigo_proceso" and "codigo_macroproceso" ...

2. Batch loading of maps by key    forum.hibernate.org

Hi, I have a specific way I would like to batch load maps and I am hoping someone here can give me a suggestion as to how to go about this. Each of my hibernate entities has a persisted map. The collection is a one-to-many using a join table and is currently batch loaded in batches of 1000. The normal batch ...

3. Batch INSERT fails with duplicated key and next INSERTs too!    forum.hibernate.org

Hibernate version: 2.1.7c Hi, I'm curious about this particular issue. I have a small import program which does a batch insert of more or less 1500 records. I gave a look at the FAQ and I saw some hints about batch imports with Hibernate and used them. Now the issue. The code looks like (a bit simplified, because I don't have ...