Return-Path: Delivered-To: apmail-openjpa-dev-archive@www.apache.org Received: (qmail 50475 invoked from network); 4 May 2009 16:31:13 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.3) by minotaur.apache.org with SMTP; 4 May 2009 16:31:13 -0000 Received: (qmail 52676 invoked by uid 500); 4 May 2009 16:31:12 -0000 Delivered-To: apmail-openjpa-dev-archive@openjpa.apache.org Received: (qmail 52640 invoked by uid 500); 4 May 2009 16:31:12 -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 52624 invoked by uid 99); 4 May 2009 16:31:11 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 16:31:11 +0000 X-ASF-Spam-Status: No, hits=3.2 required=10.0 tests=RCVD_IN_BL_SPAMCOP_NET,SPF_NEUTRAL X-Spam-Check-By: apache.org Received-SPF: neutral (athena.apache.org: local policy) Received: from [84.253.141.63] (HELO mail.semeru.it) (84.253.141.63) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 04 May 2009 16:31:02 +0000 Received: from localhost (localhost.localdomain [127.0.0.1]) by mail.semeru.it (Postfix) with ESMTP id 1DF703AEB4E for ; Mon, 4 May 2009 17:45:43 +0000 (UTC) X-DSPAM-Result: Innocent X-DSPAM-Processed: Mon May 4 17:45:39 2009 X-DSPAM-Confidence: 0.9997 X-DSPAM-Probability: 0.0000 X-DSPAM-Signature: 49ff29c357901804284693 X-DSPAM-Factors: 27, X-Virus-Scanned: amavisd-new at X-Spam-Score: -1.54 X-Spam-Level: Received: from mail.semeru.it ([127.0.0.1]) by localhost (mail.semeru.it [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id x+op9E+lZ9eg for ; Mon, 4 May 2009 17:45:39 +0000 (UTC) Received: from [192.168.0.108] (unknown [195.81.18.20]) by mail.semeru.it (Postfix) with ESMTP id 446FA3AEB4A for ; Mon, 4 May 2009 17:45:39 +0000 (UTC) Message-ID: <49FF182B.7010906@apache.org> Date: Mon, 04 May 2009 18:30:35 +0200 From: Simone Gianni User-Agent: Thunderbird 2.0.0.19 (X11/20090102) MIME-Version: 1.0 To: dev@openjpa.apache.org Subject: Stale input streams, take two Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Old-Spam-Status: No, score=-1.54 tagged_above=-10 required=6.6 tests=[ALL_TRUSTED=-1.44, DSPAM_HAM=-0.1] Hi all again, the previous thread on this subject died, so I'm bringing it up again. The question is still how to close the input stream an application gives to OpenJPA streaming lob support, since OpenJPA requires that stream to be open until it flushes it to the database, which potentially happens outside the application scope. Which is the listener that should be used to close those streams? Otherwise how to close it at the right moment to prevent stale streams and errors in OpenJPA? Simone -- Simone Gianni CEO Semeru s.r.l. Apache Committer http://www.simonegianni.it/