[
https://issues.apache.org/jira/browse/OPENJPA-1248?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12776421#action_12776421
]
Milosz Tylenda commented on OPENJPA-1248:
-----------------------------------------
Using Reader with PostgreSQL is questionable because their Large Object API
supports binary streams only. I was thinking of emulating Reader but the amount
of changes made me be in favour of just documenting that only InputStream can
be used with PostgreSQL. The Reader support could be added if demand surfaces.
Another PostgreSQL quirk is similar to Oracle API problems. We cast Connection
to PGConnection which fails if the Connection is wrapped, for example, by DBCP.
Currently the TestInputStreamLob passes when run without pooling (e.g. from an
IDE) but not with the test suite (which uses DBCP).
> LOB streaming does not work as expected
> ---------------------------------------
>
> Key: OPENJPA-1248
> URL: https://issues.apache.org/jira/browse/OPENJPA-1248
> Project: OpenJPA
> Issue Type: Bug
> Components: jdbc
> Affects Versions: 1.1.0, 1.2.0, 1.2.1, 1.3.0, 2.0.0
> Environment: Oracle, MySQL, PostgreSQL, SQL Server
> Reporter: Milosz Tylenda
> Attachments: failures.txt, TestReaderLob_oracle.log
>
>
> TestReaderLob does not pass with any of the databases indicated in the test
> case: Oracle, MySQL, PostgreSQL, SQL Server. TestInputStreamLob passes only
> with MySQL and PostgreSQL.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.