Exception [IllegalStateException: Expected one insert row but got 0] when I try to persist cache entry into database with JBoss Cache
Issue
-
We are utilizing JBoss Cache with the JDBCCacheLoader to persist cache entries to an Oracle DB. When we try to persist a new entry we see this exception:
Caused by: java.lang.IllegalStateException: Expected one insert row but got 0 at org.jboss.cache.loader.AdjListJDBCCacheLoader.insertNode(AdjListJDBCCacheLoader.java:552)
Environment
- Red Hat JBoss Enterprise Application Platform (JBoss EAP)
- 5.x
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.
