Skip to content

v0.2.0 — Priority 1 features

Choose a tag to compare

@Klema4 Klema4 released this 09 May 22:12
· 21 commits to main since this release

What is new

Priority 1 features for JDBORM

  • Raw SQL execution — db.execute(sql, params), db.query(sql, mapper, params), db.querySingle(sql, type, params)
  • setRaw() — SQL expressions in INSERT/UPDATE (e.g. setRaw(created_at, NOW()))
  • ON CONFLICT — onConflictDoNothing(), onConflictDoUpdate(clauses...) on InsertQuery
  • Custom RowMapper — SelectQuery.execute(RowMapper<T>) without reflection overhead
  • executeScalar() — single-value results (e.g. SELECT count(*))
  • Batch INSERT — addBatch() / executeBatch() for multi-row inserts
  • Transaction API — db.inTransaction(tx -> { ... }) with auto commit/rollback
  • Full Javadoc on every public class, method, and field

See AGENTS.md for the complete API reference.