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
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
babashka.sqlite namespace around the CLI maybe similar to babashka.curl.
- Hsqldb: easy to get going with graalvm. Adds 10 MB to the binary. It's under a
feature flag right now. But with enough interest, I could make it part of the
standard distribution. Derby and H2 are known to not work with GraalVM, so far
this is the "best" embedded option from a Graal perspective.
- MySQL / MariaDB: can't get those to work yet. Work in progress in issues #385
and #387. 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.
`babashka.sqlite` namespace around the CLI maybe similar to
`babashka.curl`. See [#385](https://github.com/borkdude/babashka/issues/385)
for details.
- HSQLDB: easy to get going with Graalvm. Adds 10 MB to the binary. It's under a
feature flag right now on master. See [build.md](build.md) for details. But
with enough interest, I could make it part of the standard distribution. Derby
and H2 are known to not work with GraalVM, so far this is the "best" embedded
option from a Graal perspective.
- 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