Hi,
I want to store POJOs objects as plain string in database, but infinispan stores data column as serializable object.
I tried using JdbcStringBasedStoreConfiguration but I receive exception: java.sql.SQLException: Incorrect string value: '\xFE\x03g\x03j\xBC...' for column 'data' at row 1
Thank you for any help.
Regards,
Cris
The JdbcStringBasedStoreConfiguration only stores the key as a string. The value is still stored in its Marshalled format for efficiency reasons. If you need to have the values stored in a more natural format, you should look into the JPA cache store.
Tristan