[
https://issues.apache.org/jira/browse/OPENJPA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12747216#action_12747216
]
Amy Yang commented on OPENJPA-525:
----------------------------------
Oracle: Database 10g Enterprise Edition Release 11g
Driver: Oracle JDBC Driver version - "11.1.0.7.0-Production"
MySQL: 5.1.37-community MySQL Community Server (GPL)
branch1.1.x: r807362
TestSerializedLobs passed on oracle and mysql.
TestInputStreamLob passed on mysql. on Oracle, it's result is "Tests run: 13,
Failures: 1, Errors: 12, Skipped: 0". The failure isn't caused by the patch. It
failed before r786218 too. I think it should be tracked by OPENJPA-1248.
TestReaderLob: on oracle, the result is similar with TestInputStreamLob. The
failure isn't caused by the patch either. We should track it with OPENJPA-1248
too. I'll paste a stack trace to that issue.
on mysql, even before r786218, testUpdateWithNull will fail. at r807362 it also
failed. I.e. the OPENJPA-525-3-branch1.1.x.patch doesn't cause any regression.
I'll create a new JIRA issue to track the failure.
trunk: r807465+OPENJPA-525.3.patch
TestSerializedLobs: same as 1.1.x branch
TestInputStreamLob: same as 1.1.x branch.
TestReaderLob: same as 1.1.x branch
So I think OPENJPA-525.3.patch does resolve the original problem of this issue
and safe to be checked in.
Thanks,
Amy
> Inserts new entity with NULL value for Clob column actually inserts empty
> string
> --------------------------------------------------------------------------------
>
> Key: OPENJPA-525
> URL: https://issues.apache.org/jira/browse/OPENJPA-525
> Project: OpenJPA
> Issue Type: Bug
> Affects Versions: 1.0.0, 1.0.2, 1.1.0, 2.0.0
> Environment: OpenJPA 1.0.0, 1.0.2
> Oracle XE 10g (JDBC driver 10.2.0.3.0
> JRE 1.5.0_13
> Reporter: Frank Le
> Assignee: Milosz Tylenda
> Fix For: 1.1.1, 2.0.0
>
> Attachments: OPENJPA-525-3-branch1.1.x.patch, OPENJPA-525.2.patch,
> OPENJPA-525.3.patch, OPENJPA525.patch, OPENJPA525_1_1_x.patch
>
>
> Inserts new entity with NULL value for Clob column with "nullable = true"
> actually inserts empty string as the value!
> Here's the persistence class:
> public class Exam... {
> @Lob
> private String text;
> }
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.