Skip to content

hefesto-hibernate 4.1.0 / hefesto-base 2.1.0 - PostgreSQL functions, whereAny null-check fix

Latest

Choose a tag to compare

@RobertoMike RobertoMike released this 03 Dec 09:07
fead9ce

hefesto-hibernate 4.1.0 / hefesto-base 2.1.0

Fixed (hefesto-base 2.1.0)

  • whereIsNull / whereIsNotNull inside whereAny { } and the top-level orWhereIsNull / orWhereIsNotNull were joined with AND; they are joined with OR now. Queries that used them return the rows the OR describes (usually more than before).

Added (hefesto-hibernate 4.1.0), PostgreSQL only

Package io.github.robertomike.hefesto.postgres. Nothing is registered on MySQL or other dialects.

  • HQL/JPQL functions: jsonb_text, jsonb_without, jsonb_has_key, jsonb_typeof, regexp_replace, try_advisory_xact_lock.
  • PostgresCriteria: typed Criteria builders, with values bound as parameters.
  • PostgresLocks.xactLock / tryXactLock: transaction-level advisory locks on hashtext(key).

Full notes: RELEASE_4.1.0.md

implementation("io.github.robertomike:hefesto-hibernate:4.1.0")