asmhatre and Claude Sonnet 5.5
eab5461d86
Add one-to-many module: @OneToMany in Hibernate 7.4.16.Final (unidirectional join table vs @JoinColumn vs mappedBy, Set vs List removal cost, sync helper, fetch defaults, N+1, MultipleBagFetchException fixes, id-hashCode trap)
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b4H5ph3J7k2MJnRuVH
2026-11-16 10:49:49 +05:30
asmhatre and Claude Sonnet 5.5
bdae169002
Add cascade-types module: JPA cascade types and orphanRemoval on Hibernate 7.4.15.Final and 8.0.0.CR1 (incident reproduced in three schemas, cascade matrix, @OnDelete, delete order)
...
Plain Hibernate on H2, 14 tests, transcripts in cascade-types/output (h7 and h8). No docs folder.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b5sy5qAYYdeYeS1xLW
2026-11-15 01:22:39 +05:30
asmhatre
0245c00033
New posts for Spring and Hibernate
2026-11-06 01:05:17 +05:30
Claude
b83cc9988e
Add json-columns module: JSON columns in Hibernate 7.4.14 (@JdbcTypeCode(SqlTypes.JSON)), JSONB querying, GIN/expression indexes, dirty checking, Jackson 3 vs 2 on PostgreSQL 18.6 and MySQL 8.0.46
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b6Kg9RWSTJzyz6KP9X
2026-10-30 17:00:46 +00:00
asmhatre and Claude Sonnet 5.5
98f4ed7411
Add multitenancy module: Hibernate 7 @TenantId vs schema-per-tenant (shared pool + search_path, pool per tenant), JWT tenant filter, isolation failure modes on PostgreSQL 17 (Hibernate 7.4.14.Final, Spring Boot 4.1.2)
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b4VQVEJWetTT1dYzyJ
2026-10-29 05:52:26 +00:00
asmhatre and Claude Sonnet 5.5
ef2d2aa8ea
Add date-time module: Instant vs LocalDateTime vs OffsetDateTime vs ZonedDateTime round-tripped across JVM time zones on H2 and PostgreSQL
...
Hibernate 7.4.14.Final (plus an 8.0.0.Beta4 preview run), H2 2.5.252, PostgreSQL 17.11 in Docker.
Same-JVM and cross-zone round trips, @TimeZoneStorage modes, DST gap/overlap, precision
(precision vs secondPrecision), hibernate.jdbc.time_zone, java_time_use_direct_jdbc default flip.
Supersedes the date/time experiments of docs/13 (7.4.5); chapter 13 is unchanged.
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
2026-10-29 00:56:54 +00:00
asmhatre and Claude Sonnet 5.5
c9faf35e61
Add soft-delete module: @SoftDelete (DELETED/ACTIVE/TIMESTAMP) vs @SQLDelete + @SQLRestriction on Hibernate 7.4.14.Final, H2 and PostgreSQL 17
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_017ic4b7rnC7jppGGdHGESvy
2026-10-28 18:22:03 +00:00
asmhatre and Claude Sonnet 5.5
aea104f021
Add migration-5-to-7 module: Hibernate 5.6.15 vs 7.4.14 jar diff, compile checks, schema defaults and cheat-sheet snippets
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_01YPgGH6aMbSLANL3E2HHmS6
2026-10-25 19:17:24 +00:00
asmhatre and Claude Sonnet 5.5
357ba84e5c
Add locking module: optimistic vs pessimistic locking on Hibernate 7.4.14.Final
...
Co-Authored-By: Claude Sonnet 5.5 <[email protected] >
Claude-Session: https://claude.ai/code/session_01YPgGH6aMbSLANL3E2HHmS6
2026-10-25 17:01:49 +00:00
asmhatre
807f681ed1
Add inheritance module: SINGLE_TABLE vs JOINED vs TABLE_PER_CLASS on Hibernate 7.4.13.Final
...
Same payment hierarchy mapped three ways plus @MappedSuperclass, run with plain Hibernate on H2.
Tests assert and write the generated DDL, the INSERT/SELECT SQL, row/insert/FK/nullability counts and
the three failures (NOT NULL on a SINGLE_TABLE subclass column, IDENTITY with TABLE_PER_CLASS, querying a
@MappedSuperclass); Bench writes indicative polymorphic-query timings. No docs folder: depth lives in the post.
2026-10-24 10:02:28 +00:00
asmhatre
8568c0ce6c
Add Hibernate 7 batches 2-6, batch 7, and batch 8: mapping styles, JPA annotations, natural IDs, @Immutable, stored procedures, in-memory test databases, JNDI mocking, proxies, associations, temporal mapping, named queries, HQL, Criteria API, EntityManager bootstrapping, Ehcache 3 L2 cache configuration, HikariCP connection pooling, Hibernate Validator CDI integration, aggregate functions, sorting, pagination, interceptors, and Hibernate Search 8 (Hibernate 7.4.5.Final + Spring Boot 4.1.1 + JDK 25)
2026-09-20 06:06:42 +00:00