问题
I'm using the H2 Database embedded mode to connect to local databases, but, is it possible to open a database file located on a remote server, using HTTPS?
The goal is to use a dropbox file: https://dl.dropbox.com/.../database
回答1:
You could implement a HTTP(S) file system, using the file system abstraction layer of H2.
Quite a few implementations are included in H2 (reading from Jar, Zip, in-memory, NIO,...)
来源:https://stackoverflow.com/questions/13240913/h2-database-https-connection