-
Bug
-
Resolution: Done
-
Critical
-
RHDG 8.3 GA
-
None
-
False
-
None
-
False
-
-
-
-
-
-
CR2
A string-keyed-jdbc-store persisting to an Oracle database does not marshall the entry's value before storing, so it gets a ClassCastException when reading the data back in and trying to unmarshall it.
java.lang.ClassCastException: org.infinispan.query.remote.impl.indexing.ProtobufValueWrapper cannot be cast to org.infinispan.persistence.spi.MarshalledValue
at org.infinispan.persistence.jdbc.impl.table.AbstractTableManager.entryFromResultSet(AbstractTableManager.java:618)
Root cause is that org.infinispan.persistence.jdbc.impl.table.OracleTableManager overrides prepareValueStatement and does NOT marshall the data before putting it into the DB like the overriden AbstractTableManager's impl does.
org.infinispan.persistence.jdbc.impl.table.DB2TableManager also has the same bug.
- is cloned by
-
ISPN-13844 ClassCastException with Oracle string-keyed-jdbc-store
- Closed
- links to