1. help! Hibernate commit hang on until parent process is done forum.hibernate.orgHi, I am developing a distributed java software and I found an incredible phenomenon on Linux and HP-UX. I start a java process A. Another java process B that insert records into db by hibernate is started by A. The tread in B is always be hung when it try to "seesion.getTransaction().commit" after serveral sccess as long as A is still ... |
2. commit executes update in background and hangs forum.hibernate.orgHi, I am fairly new to Hibernate and currently running into the following issue. When executing a simple query using criteria the program hangs when trying to commit. I.e. tx = session.beginTransaction(); List x = session.createCriteria (Books.class) .setFetchMode("authors",FetchMode.JOIN) .setResultTransformer(Criteria.DISTINCT_ROOT_ENTITY).list(); tx.commit(); So, in fact the query gets executed (what I have seen from the log file, thanks to show_sql), but then Hibernate ... |
3. Transaction hangs webapp!? forum.hibernate.org( ... ) session = sessionFactory.openSession(); transaction = session.beginTransaction(); Mp mp = (Mp)session.get(Mp.class, mp_id); if(mp == null) { log.error("MP was not found."); throw new ObjectoNaoEncontradoException("MP was not found."); } mp.setEstado(estado); ... |
4. program hangs when transaction do commit forum.hibernate.orgIt seems that when I open an db tool(sybaseToad), and connect it to DB, then the program might hangs at trans.commit(). Sometimes when I exit the db tool, the programs can goes on. Could anyone tells me what's wrong? I can not prevent my application user to use a DB tool while running my application. What to do to solve this? ... |
5. Oracle hang on flush/commit forum.hibernate.orgAuthor Message esword Post subject: Oracle hang on flush/commit Posted: Tue Dec 13, 2005 11:20 am Beginner Joined: Tue Jun 07, 2005 11:36 pm Posts: 22 I have a repeatable case where my app appears to be hanging or deadlocked trying to flush or commit items to an Oracle DB. In my simplified testing structure, I have up to ... |
6. Apparent Deadlock with c3p0 causing application to hang forum.hibernate.orgHi there, I am running my app on Jetty 5.1.4, with Hibernate 2.1.8 and c3p0 0.9.1-pre12. I am intermittently seeing my application hanging. A scroll through the logs turns up the following: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@167c26f -- APPARENT DEADLOCK!!! Creating emergency threads for unassigned pending tasks! and sometimes, also: com.mchange.v2.async.ThreadPoolAsynchronousRunner$DeadlockDetector@167c26f -- APPARENT DEADLOCK!!! Complete Status: Managed Threads: 3 Active Threads: 3 Active Tasks: com.mchange.v2.resourcepool.BasicResourcePool$AcquireTask@151c72f ... |
7. Persisting Blob causes commit hang. forum.hibernate.orgNewbie Joined: Tue Sep 09, 2008 3:50 pm Posts: 4 Location: Minneapolis I have the following additional information. In the SQL log info provided below, the first INSERT operation was successful, but the second INSERT hung on what appears to be an additional UPDATE operation. Code: Hibernate: select PHOTO_PK.nextval from dual Hibernate: insert into MYDB.RENTAL_PHOTO (ACTIVE, CREATE_DTTM, CREATED_BY, DESCRIPTION, IMAGE, IMAGE_BLOB, ... |