]
Ryan Emerson updated ISPN-10814:
--------------------------------
Affects Version/s: 10.0.0.CR3
Large Objects may not be used in auto-commit mode
-------------------------------------------------
Key: ISPN-10814
URL:
https://issues.jboss.org/browse/ISPN-10814
Project: Infinispan
Issue Type: Bug
Affects Versions: 10.0.0.CR3
Reporter: Gustavo Lira e Silva
Assignee: Gustavo Lira e Silva
Priority: Major
Fix For: 10.0.0.Final
https://github.com/infinispan/infinispan/blob/d372a4c80d80d149aa82909cee4...
is throwing the following exception with postgres
{noformat}
Large Objects may not be used in auto-commit mode
{noformat}
To fix, we can just change:
{code:java}
ps.setBlob(2, new ByteArrayInputStream(data));
{code}
to
{code:java}
ps.setBytes(2, data);
{code}