[infinispan-issues] [JBoss JIRA] (ISPN-10814) Large Objects may not be used in auto-commit mode
Ryan Emerson (Jira)
issues at jboss.org
Thu Oct 24 10:46:00 EDT 2019
[ https://issues.jboss.org/browse/ISPN-10814?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ryan Emerson resolved ISPN-10814.
---------------------------------
Resolution: Done
> 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
> Components: Test Suite - Core
> 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/d372a4c80d80d149aa82909cee48d4a2913d1089/persistence/jdbc/src/test/java/org/infinispan/persistence/jdbc/TableManagerTest.java#L119
> 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)
More information about the infinispan-issues
mailing list