database « Batch « JPA Q&A





1. Hibernate seems to be batching database updates causing....    forum.hibernate.org

StaleObjectStateError..... Okay, I have added my hibernate mapping below..and more explanation on this issue. I really need help with this... I have an object lets say its called House. This object has a many to one relationship with another object called Father :). This relationship is bi-directional. The id for Father is auto-generated using GUID. I am calling a DAO object ...

2. Optimize db hits by way of batch insert    forum.hibernate.org

Hi, When I use Session.save(MyCustomObject).. Hibernate is internally issuing 3 insert statements as below. Is there a way to tell hibernate to use single insert or batch insert so that it need not make 3 db hits.. I am hoping that, this should be possible by proper annotation to the custome object. Regards, Nagendra Parameter:xmlRequest= ...

3. Avoiding merging with batch process between 2 databases ??!    forum.hibernate.org

Hibernate 3.3.1.GA JBOSS 4.3.0.GA Oracle 10g, Driver ojdbc14.jar version 10.2.0.4.0 Hi, I'm developing a batch process application requiring to transfer from one instance of Oracle to another instance of Oracle, respectively 'Prod' and 'Arch'. so I need to - load entities from Prod - persist them in Arch - remove them from Prod Basically my problem is how do I load ...