Gustavo Lira e Silva created ISPN-10814:
-------------------------------------------
Summary: 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
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}
--
This message was sent by Atlassian Jira
(v7.13.8#713008)