Return-Path: Delivered-To: apmail-db-derby-user-archive@www.apache.org Received: (qmail 86263 invoked from network); 14 Jul 2006 19:57:41 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 14 Jul 2006 19:57:41 -0000 Received: (qmail 47710 invoked by uid 500); 14 Jul 2006 19:57:41 -0000 Delivered-To: apmail-db-derby-user-archive@db.apache.org Received: (qmail 47347 invoked by uid 500); 14 Jul 2006 19:57:40 -0000 Mailing-List: contact derby-user-help@db.apache.org; run by ezmlm Precedence: bulk list-help: list-unsubscribe: List-Post: List-Id: Reply-To: "Derby Discussion" Delivered-To: mailing list derby-user@db.apache.org Received: (qmail 47335 invoked by uid 99); 14 Jul 2006 19:57:40 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Fri, 14 Jul 2006 12:57:40 -0700 X-ASF-Spam-Status: No, hits=0.3 required=10.0 tests=MAILTO_TO_SPAM_ADDR X-Spam-Check-By: apache.org Received-SPF: neutral (asf.osuosl.org: local policy) Received: from [68.142.198.207] (HELO smtp108.sbc.mail.mud.yahoo.com) (68.142.198.207) by apache.org (qpsmtpd/0.29) with SMTP; Fri, 14 Jul 2006 12:57:39 -0700 Received: (qmail 33493 invoked from network); 14 Jul 2006 19:57:18 -0000 Received: from unknown (HELO ?127.0.0.1?) (ddebrunner@sbcglobal.net@75.24.108.107 with plain) by smtp108.sbc.mail.mud.yahoo.com with SMTP; 14 Jul 2006 19:57:17 -0000 Message-ID: <44B7F715.8060203@apache.org> Date: Fri, 14 Jul 2006 12:57:09 -0700 From: Daniel John Debrunner User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.3) Gecko/20040910 X-Accept-Language: en-us, en, de MIME-Version: 1.0 To: Derby Discussion Subject: Re: Bulk import From Jar References: <071420061931.29433.44B7F10400062E56000072F92205886442CDC0020E0A040C030B@comcast.net> In-Reply-To: <071420061931.29433.44B7F10400062E56000072F92205886442CDC0020E0A040C030B@comcast.net> X-Enigmail-Version: 0.90.0.0 X-Enigmail-Supports: pgp-inline, pgp-mime Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N dmclean62@comcast.net wrote: > I was reading through the Derby Utilities manual about the bulk import using SYSCS_UTIL.SYSCS_IMPORT_DATA and I was thinking that it might be really useful to be able to import from a file in a jar. It doesn't look like this can be done now but perhaps I am overlooking something? If the routine takes a URL as well as a file name it might be possible. Java supports a URL scheme for jar files. See the javadoc for java.net.JarURLConnection. Derby usually accepts a URL or a file when taking a 'file' name for reading. Dan.