db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel John Debrunner <...@apache.org>
Subject Re: Bulk import From Jar
Date Fri, 14 Jul 2006 19:57:09 GMT
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.


View raw message