diff --git a/doc/getting-started.md b/doc/getting-started.md index ba0280a..6f96f49 100644 --- a/doc/getting-started.md +++ b/doc/getting-started.md @@ -25,6 +25,7 @@ for `project.clj` or `build.boot`. * MySQL: `mysql/mysql-connector-java {:mvn/version "8.0.19"}` ([search for latest version](https://search.maven.org/artifact/mysql/mysql-connector-java)) * PostgreSQL: `org.postgresql/postgresql {:mvn/version "42.2.10"}` ([search for latest version](https://search.maven.org/artifact/org.postgresql/postgresql)) * Microsoft SQL Server: `com.microsoft.sqlserver/mssql-jdbc {:mvn/version "8.2.1.jre8"}` ([search for latest version](https://search.maven.org/artifact/com.microsoft.sqlserver/mssql-jdbc)) +* Sqlite: `org.xerial/sqlite-jdbc {:mvn/version "3.39.2.1"}` ([search for latest version](https://search.maven.org/artifact/org.xerial/sqlite-jdbc)) > Note: these are the versions that `next.jdbc` is tested against but there may be more recent versions and those should generally work too -- click the "search for latest version" link to see all available versions of those drivers on Maven Central. You can see the full list of drivers and versions that `next.jdbc` is tested against in [the project's `deps.edn` file](https://github.com/seancorfield/next-jdbc/blob/develop/deps.edn#L10-L27), but many other JDBC drivers for other databases should also work (e.g., Oracle, Red Shift). diff --git a/doc/tips-and-tricks.md b/doc/tips-and-tricks.md index f236d35..d4d1e53 100644 --- a/doc/tips-and-tricks.md +++ b/doc/tips-and-tricks.md @@ -527,6 +527,8 @@ SQLite supports both `bool` and `bit` column types but, unlike pretty much every You can work around this using a builder that handles reading the column directly as a `Boolean`: ```clojure +(import java.sql ResultSet ResultSetMetaData) + (jdbc/execute! ds ["select * from some_table"] {:builder-fn (rs/builder-adapter rs/as-maps