sql

vemv 2024-01-17T18:59:44.641709Z

Can https://github.com/seancorfield/next-jdbc/blob/a5be7d0/doc/datafy-nav-and-schema.md#jdbc-datafication work with a HikariDataSource? (for context, I've never used this stuff, so IDK exactly what to expect) I'd want to feed the HikariDataSource into the rebl, and start navigating my databases/tables/columns But its types don't seem immediately supported per the .md:

(-> com.zaxxer.hikari.HikariDataSource ancestors)
#{com.zaxxer.hikari.HikariConfigMXBean
  javax.sql.DataSource
  java.sql.Wrapper
  javax.sql.CommonDataSource
  java.io.Closeable
  java.lang.Object
  java.lang.AutoCloseable
  com.zaxxer.hikari.HikariConfig}

seancorfield 2024-01-17T19:04:29.026449Z

Per https://cljdoc.org/d/com.github.seancorfield/next.jdbc/1.3.909/api/next.jdbc.datafy you need a Connection and/or DatabaseMetaData object for that.

vemv 2024-01-17T19:10:40.046749Z

Thanks! Calling its .getConnection method returns a java.sql.Connection, for instance.