Fork me on GitHub
Ivar Refsdal12:11:54

Datomic on prem peer question: Is there any way to access the tomcat JDBC datasource connection pool that Datomic creates? I want to do a select 1 for a connection as part of a health check endpoint. Thanks


Hi Ivar, there is no api for manipulating storage directly. What problem are you trying to solve? We do have transactor health checks available:

Ivar Refsdal15:11:58

I'm trying to add a /health endpoint for my peer on-prem application that checks if the database connection is OK


Hi, there I'm getting some errors now when I'm trying to get the any Datomic dev-local dependency with the following message

error in process sentinel: Could not start nREPL server: Could not find artifact com.datomic:dev-local:jar:1.0.238 in central ()
Could not find artifact com.datomic:dev-local:jar:1.0.238 in clojars ()
We're using this for our CI and dev environments and Datomic-Cloud for production. Everything is set up locally and it worked before. Does anybody have similar problems currently?


maybe fixed when you install dev-tools again? there is a script install in the zip archive

Alex Miller (Clojure team)17:11:46

That artifact is not in a public repo so you either need to install it (locally as suggested) or use your authenticated repo access


Thanks, I'll try that.


I can't do :find [?e ...] with the client api, is there an alternative that returns stuff in a collection instead a collection of collections?

Joe Lane17:11:23

(into #{} cat (do-the-q db))

👍 1

Is there some setting in postgres or dynamo transactor settings that allows you to store your data in an unencrypted format... i.e. human-readable storage ?


It’s not encrypted, it’s gzipped fressian