"ORA-00054: resource busy and acquire with NOWAIT specified" raised when invoking EntityManager.refresh(...) in JBoss EAP 6
Issue
When calling EntityManager.refresh(entity, LockModeType.PESSIMISTIC_FORCE_INCREMENT), we sometimes encounter the following:
java.sql.SQLException: ORA-00054: resource busy and acquire with NOWAIT specified
Environment
- Red Hat JBoss Enterprise Application Platform (EAP)
- 6.1.1
- Hibernate (Core)
- 4.2.0
- 4.3.0
- Oracle
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.