Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 96230 invoked from network); 25 May 2010 13:29:46 -0000 Received: from unknown (HELO mail.apache.org) (140.211.11.3) by 140.211.11.9 with SMTP; 25 May 2010 13:29:46 -0000 Received: (qmail 5931 invoked by uid 500); 25 May 2010 13:29:46 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 5735 invoked by uid 500); 25 May 2010 13:29:46 -0000 Mailing-List: contact derby-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: Delivered-To: mailing list derby-dev@db.apache.org Received: (qmail 5687 invoked by uid 99); 25 May 2010 13:29:46 -0000 Received: from athena.apache.org (HELO athena.apache.org) (140.211.11.136) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 13:29:46 +0000 X-ASF-Spam-Status: No, hits=-1462.1 required=10.0 tests=ALL_TRUSTED,AWL X-Spam-Check-By: apache.org Received: from [140.211.11.22] (HELO thor.apache.org) (140.211.11.22) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 25 May 2010 13:29:45 +0000 Received: from thor (localhost [127.0.0.1]) by thor.apache.org (8.13.8+Sun/8.13.8) with ESMTP id o4PDTND2023379 for ; Tue, 25 May 2010 13:29:24 GMT Message-ID: <5959245.33691274794163861.JavaMail.jira@thor> Date: Tue, 25 May 2010 09:29:23 -0400 (EDT) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Closed: (DERBY-1658) Too short streams passed in through JDBC are handled differently in client and embedded In-Reply-To: <19263737.1155166093825.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/DERBY-1658?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan closed DERBY-1658. ---------------------------------- Fix Version/s: 10.6.1.0 Resolution: Fixed Fixed by DERBY-2017. > Too short streams passed in through JDBC are handled differently in client and embedded > --------------------------------------------------------------------------------------- > > Key: DERBY-1658 > URL: https://issues.apache.org/jira/browse/DERBY-1658 > Project: Derby > Issue Type: Improvement > Components: JDBC, Network Client, Network Server > Affects Versions: 10.2.1.6 > Reporter: Kristian Waagan > Fix For: 10.6.1.0 > > > In the embedded driver, insertion is aborted if the stream used as source is shorter then the specified length. > In the client driver, the stream is padded and the insertion is completed. Note that an exception is thrown here as well, but the data is inserted into the database and can be retrieved after the exception have been caught. > If anyone has information about why this was done, it would be nice. Could it be that the DRDA protocol can't handle this easily? > This difference was discovered while writing tests, and the impact on the test code is not good as you need special code for running it with the client. -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.