Skip to main content

Jib for Spring Boot: Container Images Without a Dockerfile (vs Buildpacks)

Build one Spring Boot 4.2 app into a container image with Jib 3.5.2 and with Cloud Native Buildpacks, then break both. Real transcripts: five thin layers, a 1.4 KB rebuild delta, identical digests, daemonless registry push, the wrong-JRE trap, and the Buildpacks image that refuses to start at 512 MB.

Hibernate 8 Safe Mode for HQL and Row-Level Security Multi-Tenancy on PostgreSQL (8.0.0.CR2)

Hibernate ORM 8.0.0.CR2 (release candidate) adds hibernate.query.safe_mode_enabled, which rejects HQL calls to unregistered database functions, and generates a PostgreSQL row-level-security policy for @TenantId tables. Both run against a real PostgreSQL 16 with captured output: what each blocks, what a superuser bypasses, how a set_config() call moves the tenant, and the tenant parameter in @SQLUpdate and @SQLDelete.

Spring Cloud Stream on Boot 4: Functional Kafka and RabbitMQ Binders

One Supplier, Function and Consumer pipeline run on Kafka and on RabbitMQ with Spring Cloud Stream 5.1 on Spring Boot 4.2, by changing one profile. Real transcripts for the test binder, partitioning (murmur2, not hashCode), RabbitMQ's queue-per-partition trap, dead-letter queues on both binders, and the wiring mistakes with their actual error messages.