H2 database HTTPS connection

耗尽温柔 提交于 2020-02-08 06:37:07

问题


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

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!