Bulk operation triggering "ORA-00955: name is already used by an existing object" in Hibernate
Issue
- Using DML operations for bulk update or delete of an entity in a multi-table inheritance hierarchy
- Oracle database logs show many occurrences of the below which coincide with each bulk operation
ORA-00955: name is already used by an existing object
- Per bulk operation, Oracle parses a create attempt, detects the error and raises it through the driver to Hibernate code
Environment
- Red Hat JBoss Enterprise Application (EAP) 6
- Hibernate 4
- Oracle
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
