Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: b0cd38ace0af7e1022513c3c420a64eaffeea9c9
https://github.com/hibernate/hibernate-orm/commit/b0cd38ace0af7e1022513c3...
Author: Sakthivel Subramanian <sakthipvmj(a)gmail.com>
Date: 2026-04-16 (Thu, 16 Apr 2026)
Changed paths:
M
hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SpannerPostgreSQLDialect.java
A
hibernate-core/src/main/java/org/hibernate/sql/model/jdbc/OptionalTableUpdateWithOptionalRowCount.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/JsonEmbeddableArrayTest.java
M
hibernate-core/src/test/java/org/hibernate/orm/test/proxy/MultipleSessionFactoriesProxyTest.java
M hibernate-core/src/test/resources/hibernate.properties
M
hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
Log Message:
-----------
HHH-20337 Fix Spanner PostgreSQL upsert and skip unsupported tests
- Introduce `OptionalTableUpdateWithOptionalRowCount` in `hibernate-core` to allow both 0
and 1 affected rows for `ON CONFLICT DO NOTHING` operations in Spanner.
- Update `SpannerPostgreSQLDialect` to use the new optional row count operation.
- Add `SupportsJsonArrayGet` feature check and use it to skip
`JsonEmbeddableArrayTest.testSelectionItems` on dialects without `array_get` support.
- Add `@RequiresDialectFeature(feature = SupportsNumericPrimaryKey.class)` to
`MultipleSessionFactoriesProxyTest` to skip it on dialects that don't support numeric
PKs.
- Enable `hibernate.dialect.spanner.use_emulator` in `hibernate.properties` for testing.
To unsubscribe from these emails, change your notification settings at
https://github.com/hibernate/hibernate-orm/settings/notifications