4 ms·
I'm sure it's easier with Java, and I apologize for not being clearer. I have recent, unpleasant experience with Clojure, not java. That said, I would still be
by djha-skin 4y ago
I'm sure it's easier with Java, and I apologize for not being clearer. I have recent, unpleasant experience with Clojure, not java. That said, I would still be (pleasantly!) surprised to hear of someone using a sqlite java library and having it work without a hitch on native-image.
- lenkite 4y agoSadly, another baseless assumption. I just downloaded sqlite java driver from https://github.com/xerial/sqlite-jdbc/ https://github.com/xerial/sqlite-jdbc/. And compiled their sample program on the home page (creates db with table and some rows) to native code. I did all this within ~2min after reading your response. Its very, very hip nowadays to worship Rust/Go and bash Java and gain HN karma from the younger generation while doing so, but at-least do it on real facts and not assumptions. javac Sample.java && native-image -cp .:sqlite-jdbc-3.41.2.1.jar Sample ./sample name = leo id = 1 name = yui id = 2 ls -al sample.db -rw-r--r-- 1 OMIT OMIT 8192 Apr 1 22:22 sample.db