SelektDriver
Supports the URL format: jdbc:sqlite:path/to/database.sqlite?properties
Supported connection properties:
poolSize: Maximum connection pool size (integer, default: 4)
busyTimeout: SQLite busy timeout in milliseconds (integer, default: 2500)
pageCacheSizeKiB: Approximate page-cache size per physical connection in KiB, applied as a negative SQLite
PRAGMA cache_sizevalue so SQLite interprets it as KiB rather than pages (positive integer, optional)cursorWindowSize: Maximum rows retained in a scrollable cursor window (positive integer, default: 1024)
cursorWindowByteSize: Maximum estimated bytes retained in a scrollable cursor window (integer, default: 2097152)
journalMode: SQLite journal mode (DELETE, WAL, MEMORY, etc., default: WAL)
foreignKeys: Enable foreign key constraints (true/false, default: true)
A private in-memory database is released when its final JDBC connection closes. Use an explicitly owned SelektDataSource to retain an in-memory database between connections.
Since
0.28.0