]
Gustavo Lira e Silva updated ISPN-10814:
----------------------------------------
Git Pull Request:
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
Reporter: Gustavo Lira e Silva
Assignee: Gustavo Lira e Silva
Priority: Major
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}