thread « Update « JPA Q&A





1. JPA persistence using multiple threads    stackoverflow.com

I have a problem when I try to persist objects using multiple threads. Details : Suppose I have an object PaymentOrder which has a list of PaymentGroup (One to Many relationship) and PaymentGroup ...

2. problem with multithreading access re. update    forum.hibernate.org

Newbie Joined: Wed Oct 22, 2003 12:59 pm Posts: 14 Hi there I' m having a problem with the following scenario, which I hope is something some of you might have seen before. I have looked it up in the forum without avail, so any help will be really appreciated I'm testing concurrent access , therefore, I chose to launch two ...

3. update same row simultaneous by two threads.    forum.hibernate.org

Hello everyBody. I am using hibernate2.1. i have two thread which update same row of table.. and each thread use different Session... my problem is after one thread update the row other thread also update the row... and after that first thread's update has gone... not applied... i guess it means second thread rollback the first thread's data.. how can i ...

4. Problems with hibernate, maybe not thread save    forum.hibernate.org

Author Message bschlaack Post subject: Problems with hibernate, maybe not thread save Posted: Thu Nov 24, 2005 5:12 am Newbie Joined: Mon Jun 06, 2005 4:09 am Posts: 5 Location: Dortmund / Germany Hello out there, we have a big problem with hibernate 3.0.5 running under struts 1.2.4, jdk 1.4.2_08 on a tomcat 5.0.28 server connecting to an oracle9i ...

5. multi thread update problem    forum.hibernate.org

Hello All, I have a problem with hibernate in multi thread application. I get parent object from thread session and create new child object, after I run update for parent object. In other thread update this parent object without new child. If I use find with lock for update ("select for update") it works correctly, but it works by db lock ...

6. updating record with 50 threads    forum.hibernate.org

Hi, I have a batch process running 50 threads (WorkManager in WebLogic 9). For efficiency each thread loads 200 trades to be processed in a single flush/transaction. Now I need to accoumulate calculated charges for each trade in a single record. While processing 200 trades, current accumulated value being added should be visible and updatable by other threads. Application is running ...

7. "disappearing" update in multi-threaded app    forum.hibernate.org

Newbie Joined: Wed Dec 06, 2006 11:36 am Posts: 8 Hibernate version: 3.2.6 Spring version: 2.5.4 Code Code: public void updateFile(FileBean file){ try { ...