Re: [sqlite] load database into memory java applet

2011-10-12 Thread Simon Slavin
On 12 Oct 2011, at 7:35am, Orçun Ertuğrul wrote: > I am trying to load sqlite database that is placed on the net from an > applet. When trying to attach http address as source, it gives "Unable to > open database file" error. Sorry, but although the syntax of a URL allows you to specify

Re: [sqlite] load database into memory java applet

2011-10-12 Thread Orçun Ertuğrul
I am trying to load sqlite database that is placed on the net from an applet. When trying to attach http address as source, it gives "Unable to open database file" error. Class.forName("org.sqlite.JDBC"); Connection conn = DriverManager.getConnection("jdbc:sqlite::memory:"); String attachStmt =

Re: [sqlite] load database into memory java applet

2011-10-10 Thread Stephan Beal
On Mon, Oct 10, 2011 at 12:57 PM, wrote: > Connection conn = DriverManager.getConnection("jdbc:sqlite:memory:"); > try: jdbc:sqlite::memory: note the extra colon. i don't know if that will work, but it is at least semantically correct (whereas the version

[sqlite] load database into memory java applet

2011-10-10 Thread orcun . ertugrul
Hi all; I am new to mailing list. My database file on the net (in a http address) and i wanna load that file from an applet. I tried the below code and it gives "The filename, directory name or volume label syntax is incorrect" error. Class.forName("org.sqlite.JDBC"); Connection conn =