Return-Path: Delivered-To: apmail-db-derby-dev-archive@www.apache.org Received: (qmail 50966 invoked from network); 13 Feb 2008 11:02:38 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (140.211.11.2) by minotaur.apache.org with SMTP; 13 Feb 2008 11:02:38 -0000 Received: (qmail 12557 invoked by uid 500); 13 Feb 2008 11:02:31 -0000 Delivered-To: apmail-db-derby-dev-archive@db.apache.org Received: (qmail 12535 invoked by uid 500); 13 Feb 2008 11:02:31 -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 12526 invoked by uid 99); 13 Feb 2008 11:02:31 -0000 Received: from nike.apache.org (HELO nike.apache.org) (192.87.106.230) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 03:02:31 -0800 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.4] (HELO brutus.apache.org) (140.211.11.4) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 13 Feb 2008 11:01:53 +0000 Received: from brutus (localhost [127.0.0.1]) by brutus.apache.org (Postfix) with ESMTP id 4544971403C for ; Wed, 13 Feb 2008 03:02:13 -0800 (PST) Message-ID: <22749743.1202900533280.JavaMail.jira@brutus> Date: Wed, 13 Feb 2008 03:02:13 -0800 (PST) From: "Kristian Waagan (JIRA)" To: derby-dev@db.apache.org Subject: [jira] Updated: (DERBY-1318) Add an upgrade test to verify that DataSources can be serialized by the previous release and then correctly deserialized by the current release In-Reply-To: <2584013.1147375024506.JavaMail.jira@brutus> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org [ https://issues.apache.org/jira/browse/DERBY-1318?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Kristian Waagan updated DERBY-1318: ----------------------------------- Attachment: serialized-data-sources.zip derby-1318-1b-for_comments.stat derby-1318-1b-for_comments.diff 'derby-1318-1b-for_comments.diff' is a slightly changed from 1a: * uses more specific versions (for instance 10.3.2.1 instead of 10.3) * improved documentation slightly * added a read method to SerializeDataSource.java, which prints information about the specified file. Also added the serialized data source files, which are not included in the diff because they are binary files. > Add an upgrade test to verify that DataSources can be serialized by the previous release and then correctly deserialized by the current release > ----------------------------------------------------------------------------------------------------------------------------------------------- > > Key: DERBY-1318 > URL: https://issues.apache.org/jira/browse/DERBY-1318 > Project: Derby > Issue Type: Test > Components: JDBC, Test > Affects Versions: 10.2.1.6 > Reporter: Rick Hillegas > Attachments: derby-1318-1a-for_comments.diff, derby-1318-1a-for_comments.stat, derby-1318-1b-for_comments.diff, derby-1318-1b-for_comments.stat, serialized-data-sources.zip > > > Currently, our DataSources are serializable in order to play well with JNDI. However, we have no upgrade test verifying that DataSource serialization works across release boundaries. We should add this case to our upgrade tests. > Further recommendations by Dan: > "I do think though that upgrade testing recently brought into the mainline by Deepa should be enhanced to test: > - serializing Derby''s data source implementations in 10.1 and seeing it unserializes with 10.2 > (maybe into a BLOB column) > - making a Reference object out of Derby''s data source implementations in 10.1 and making it into > an object with 10.2. (if this type of tetsing makes sense for References')" -- This message is automatically generated by JIRA. - You can reply to this email to add a comment to the issue online.