db-derby-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Bryan Pendleton <bpendleton.de...@gmail.com>
Subject Re: Bug with http sub protocol?
Date Tue, 21 Jun 2011 02:44:13 GMT
> According to the JavaDoc, there exists a org.apache.derby.impl.io.URLStorageFactory, which
is addressed by using the http sub
> protocol. However, when I attempt to access the following URL, Derby throws an exception:
> Connection _conn_ =
> DriverManager.getConnection("jdbc:derby:http://localhost:8080/ipinfo");

I don't think this works; I've never seen any discussion of such an URL syntax for Derby.

It's an interesting idea, but I don't think you're going to get this to work
with the 10.8 version of Derby.

Here's some good docs about the current Derby support for Connection URL syntax:

http://db.apache.org/derby/docs/10.8/devguide/cdevdvlp17453.html

http://db.apache.org/derby/docs/10.8/devguide/rdevdvlp22102.html#rdevdvlp22102

thanks,

bryan

Mime
View raw message