From dev-return-16331-apmail-openjpa-dev-archive=openjpa.apache.org@openjpa.apache.org Mon May 03 15:20:59 2010 Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 78506 invoked from network); 3 May 2010 15:20:59 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 3 May 2010 15:20:59 -0000 Received: (qmail 54107 invoked by uid 500); 3 May 2010 15:20:59 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 53966 invoked by uid 500); 3 May 2010 15:20:58 -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 53957 invoked by uid 99); 3 May 2010 15:20:58 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 15:20:58 +0000 X-ASF-Spam-Status: No, hits=2.2 required=10.0 tests=FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_PASS,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: apache.org Received-SPF: pass (nike.apache.org: domain of michael.d.dick@gmail.com designates 209.85.218.227 as permitted sender) Received: from [209.85.218.227] (HELO mail-bw0-f227.google.com) (209.85.218.227) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 May 2010 15:20:52 +0000 Received: by bwz27 with SMTP id 27so1521705bwz.33 for ; Mon, 03 May 2010 08:20:31 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=hO88bPAAN5koe67YbXhsPSb2iCyKlP0JJNGVbWZODvk=; b=iy/mZfxIcP4886XO4QEuRp/ddxBpiStO8ScZ8VbME5dLtiRuwlaTYZh6etC7SoRzXE u/N3YNy5gyndDDGw6mwhjOQ0FyCFFwMRRRC+eOs+MUVzKmY9kuBraOZcWRnn7nwZqhBA maTWuRb58szzRNQ7/PB6VeJtgWgbz3yPvs4fw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=h1VBCudj7/J8H2e8AGwYDs2qCZRyIbw4o+Yxi8w9ftXVM6/TMeEWcL0UD+IFyot4OP Mx8BVBZA5qtReUUA8ehz6UsVLsj2T1+AgZojLjsXA4dFL1+jqccZtpyaLRsUB9aT9z9l oeDm40Hnuyl6ULidAOUDiGChibB5i9VNeCnNU= Received: by 10.204.84.5 with SMTP id h5mr762020bkl.164.1272900031366; Mon, 03 May 2010 08:20:31 -0700 (PDT) MIME-Version: 1.0 Received: by 10.204.54.142 with HTTP; Mon, 3 May 2010 08:20:11 -0700 (PDT) In-Reply-To: <85084.96808.qm@web27804.mail.ukl.yahoo.com> References: <85084.96808.qm@web27804.mail.ukl.yahoo.com> From: Michael Dick Date: Mon, 3 May 2010 10:20:11 -0500 Message-ID: Subject: Re: providing integration tests for known bugs? To: dev@openjpa.apache.org Content-Type: multipart/alternative; boundary=0016e6db2c1a3447280485b22231 X-Virus-Checked: Checked by ClamAV on apache.org --0016e6db2c1a3447280485b22231 Content-Type: text/plain; charset=ISO-8859-1 Hi Mark, The unit test for OPENJPA-525 should validate that it's working. Could you try running TestSerializedLobs.java and see if it fails for you? FWIW the tests are running with MySQL 5.1.12 in the 2.0.x branch and the test passed.. Regards, -mike On Mon, May 3, 2010 at 7:13 AM, Mark Struberg wrote: > Hi! > > It seems that I suffer from the same problems which got reported in > OPENJPA-525 [1] while trying to write null value to a not null field. > It seems that OpenJPA magically converts it to an empty string, thus I get > NO Exception in MySQL and I DO get an exception in Oracle (because Oracle > treats empty VARCHAR strings as null). > > Is there any integration test or unit test which proves OPENJPA-525? > > If I'd like to write such a test, where should I add it? > > txs and LieGrue, > strub > > > [1] https://issues.apache.org/jira/browse/OPENJPA-525 > > > > --0016e6db2c1a3447280485b22231--