Skip to content

Releases: tomconder/ktorm-sqlite

2026.2

Choose a tag to compare

@tomconder tomconder released this 25 Jul 19:57
Immutable release. Only release title and notes can be modified.
ff5b71b

Maps the tables to Ktorm entities and puts enforced constraints behind them.

Fixed

  • hire_date was stored as integer milliseconds and read back a day early — java.sql.Date converts through the JVM's local time zone. Now stored as ISO-8601 text, verified stable from UTC+14 to UTC−11 and across a DST transition that skips midnight.
  • execSqlScript split the script on ; without regard for comments, so a semicolon inside a -- comment cut a statement in half.
  • With foreign keys enforced, a run that failed mid-script left the database unrecoverable. Teardown now runs with foreign keys off; inserts stay fully checked.

Added

  • Employee and Department entity interfaces bound to their tables.
  • department_id mapped with references, so Ktorm generates the join and employee.department reads directly.
  • Foreign keys enforced via foreign_keys=on, verified at connect so a dropped URL parameter fails fast instead of silently disabling every constraint. department_id cascades on delete; manager_id sets null.

Changed

  • Kotlin 2.4.10, Ktorm 4.2.1, SQLite JDBC 3.53.2.1, Log4j 2.26.1. Guava removed.
  • Gradle wrapper 9.6.1.
  • Entity trace logging dropped from TRACE to DEBUG.

Full changelog: v2026.1...v2026.2

2026.1

Choose a tag to compare

@tomconder tomconder released this 30 Mar 20:58
b696317

What's Changed

  • update Gradle to 9.4.0
  • update JVM toolchain to 25

Full Changelog: v2023.1...v2026.1

2023.1

Choose a tag to compare

@tomconder tomconder released this 18 Oct 04:57
  • update Kotlin and Java JVM; requires JDK 17