Skip to content

Support SQLite3 JDBC#434

Open
katafrakt wants to merge 1 commit into
mainfrom
sqlite-jdbc
Open

Support SQLite3 JDBC#434
katafrakt wants to merge 1 commit into
mainfrom
sqlite-jdbc

Conversation

@katafrakt

@katafrakt katafrakt commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

Support SQLite3 JDBC adapter.

This is a messy change, because of some differences betreen CRuby and JRuby adapters. Notably:

  • JDBC adapter seems to expect the directory for the database file to already exists, CRuby's SQLite3 driver creates it
  • Dir.chdir is not effective in JRuby for gems calling external JARs and I haven't found an equivalent for JVM - meaning we need to use absolute paths for temporary directories in tests
  • Ruby's URI does not parse JDBC-compatible URIs well (jdbc:sqlite:db/dev.sqlite)

Good news is that I think this is the most messy one and it should be more straightforward for PostgreSQL and MySQL.

@katafrakt katafrakt mentioned this pull request Jul 7, 2026
5 tasks
@github-actions

github-actions Bot commented Jul 7, 2026

Copy link
Copy Markdown
Contributor

ℹ️ Optional job failed: Ruby jruby

@katafrakt katafrakt marked this pull request as ready for review July 8, 2026 05:31
@katafrakt katafrakt changed the title Support SQLite JDBC Support SQLite3 JDBC Jul 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant