This commit is contained in:
Michiel Borkent 2020-04-26 21:25:48 +02:00
parent db0cccc25e
commit 99571e59f1

View file

@ -57,15 +57,20 @@ Findings from various experiments with JDBC drivers in babashka:
- Sqlite: I feel like I'm close to a working solution, but it hangs. It adds - Sqlite: I feel like I'm close to a working solution, but it hangs. It adds
20MB to the binary. But since it has a nice CLI we can also shell out to it 20MB to the binary. But since it has a nice CLI we can also shell out to it
(there's en example in the examples dir). We could also build a (there's en example in the examples dir). We could also build a
babashka.sqlite namespace around the CLI maybe similar to babashka.curl. `babashka.sqlite` namespace around the CLI maybe similar to
- Hsqldb: easy to get going with graalvm. Adds 10 MB to the binary. It's under a `babashka.curl`. See [#385](https://github.com/borkdude/babashka/issues/385)
feature flag right now. But with enough interest, I could make it part of the for details.
standard distribution. Derby and H2 are known to not work with GraalVM, so far - HSQLDB: easy to get going with Graalvm. Adds 10 MB to the binary. It's under a
this is the "best" embedded option from a Graal perspective. feature flag right now on master. See [build.md](build.md) for details. But
- MySQL / MariaDB: can't get those to work yet. Work in progress in issues #385 with enough interest, I could make it part of the standard distribution. Derby
and #387. I need a working Clojure example. If you want to contribute, and H2 are known to not work with GraalVM, so far this is the "best" embedded
consider making a an example CLI that puts something in a mysql db and reads option from a Graal perspective.
something from it. - MySQL / MariaDB: can't get those to work yet. Work in progress in issue
[#387](https://github.com/borkdude/babashka/issues/387).
To progress work on sqlite and mySQL, I need a working Clojure example. If you
want to contribute, consider making a an example CLI that puts something in a
mysql db and reads something from it.
## Binary size ## Binary size