Skip to content

Releases: BitAspire/jdborm

v0.4.1

11 May 22:24

Choose a tag to compare

Changelog

  • Fix InsertQuery.executeBatch() to correctly bind null parameter values via PreparedStatement.setNull()
  • Fix InsertQuery.executeBatch() to use single-row INSERT SQL with addBatch(), preventing "parameter not set" errors on JDBC batch execution
  • Add integration test for batch insert with nullable columns

Release v0.4.1 of jdborm — lightweight JDBC ORM library with fluent API.

v0.4.0

10 May 15:56

Choose a tag to compare

ON CONFLICT target API (0.4.0)

New features

  • ON CONFLICT target columns: .onConflict("id").doNothing() and .onConflict("unique_id").doUpdateSet(...)
  • ON CONFLICT ON CONSTRAINT: .onConflictOnConstraint("pk_users").doNothing()
  • Static helpers: InsertQuery.excluded("col")"col = EXCLUDED.col" and InsertQuery.setClause("col", "expr")"col = expr"
  • Unified batch columns: batch rows with different column sets now produce correct SQL with NULL padding

Deprecated (still work)

  • .onConflictDoNothing() → use .onConflict().doNothing()
  • .onConflictDoUpdate() → use .onConflict().doUpdateSet()

v0.3.1

09 May 22:52

Choose a tag to compare

Release v0.3.1 of jdborm — lightweight JDBC ORM library with fluent API.

v0.3.0

09 May 22:27

Choose a tag to compare

Release v0.3.0 of jdborm — lightweight JDBC ORM library with fluent API.

v0.2.1

09 May 22:16

Choose a tag to compare

Release v0.2.1 of jdborm — lightweight JDBC ORM library with fluent API.

v0.2.0 — Priority 1 features

09 May 22:12

Choose a tag to compare

What is new

Priority 1 features for JDBORM

  • Raw SQL executiondb.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 CONFLICTonConflictDoNothing(), onConflictDoUpdate(clauses...) on InsertQuery
  • Custom RowMapperSelectQuery.execute(RowMapper<T>) without reflection overhead
  • executeScalar() — single-value results (e.g. SELECT count(*))
  • Batch INSERTaddBatch() / executeBatch() for multi-row inserts
  • Transaction APIdb.inTransaction(tx -> { ... }) with auto commit/rollback
  • Full Javadoc on every public class, method, and field

See AGENTS.md for the complete API reference.

0.1.3

09 May 21:37

Choose a tag to compare

Full Changelog: v0.1.2...0.1.3

v0.1.2

09 May 21:07

Choose a tag to compare

Full Changelog: v0.1.1...v0.1.2

v0.1.1

09 May 20:44

Choose a tag to compare