Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 53469 invoked from network); 24 Aug 2009 17:04:35 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 24 Aug 2009 17:04:35 -0000 Received: (qmail 71157 invoked by uid 500); 24 Aug 2009 09:58:21 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 71111 invoked by uid 500); 24 Aug 2009 09:58:21 -0000 Mailing-List: contact dev-help@openjpa.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@openjpa.apache.org Delivered-To: mailing list dev@openjpa.apache.org Received: (qmail 71023 invoked by uid 99); 24 Aug 2009 09:58:21 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 09:58:21 +0000 X-ASF-Spam-Status: No, hits=-2000.0 required=10.0 tests=ALL_TRUSTED X-Spam-Check-By: apache.org Received: from [140.211.11.140] (HELO brutus.apache.org) (140.211.11.140) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 24 Aug 2009 09:58:19 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 53FE7234C051 for ; Mon, 24 Aug 2009 02:57:59 -0700 (PDT) Message-ID: <1989082134.1251107879342.JavaMail.jira@brutus> Date: Mon, 24 Aug 2009 02:57:59 -0700 (PDT) From: "Amy Yang (JIRA)" To: dev@openjpa.apache.org Subject: [jira] Commented: (OPENJPA-525) Inserts new entity with NULL value for Clob column actually inserts empty string In-Reply-To: <1955115575.1204140111354.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/OPENJPA-525?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12746796#action_12746796 ] Amy Yang commented on OPENJPA-525: ---------------------------------- hi Milosz & Albert, thank you very much for looking into this issue. Milosz , I've tried OPENJPA-525.3.patch on oracle. TestSerializedLobs can pass with it. I also run TestInputStreamLob on mysql with it and the case can pass too. Could you please check in the patch? 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.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.