Branch: refs/heads/main
Home:
https://github.com/hibernate/hibernate-orm
Commit: 689cca1963dd5ad01a008e59cdb227396b650961
https://github.com/hibernate/hibernate-orm/commit/689cca1963dd5ad01a008e5...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-01 (Sun, 01 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/RowId.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M
hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/EntityRowIdMappingImpl.java
M
hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/RowIdJdbcType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/SmallIntJdbcType.java
M
hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/internal/JdbcTypeBaseline.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/package-info.java
M hibernate-core/src/test/java/org/hibernate/orm/test/rowid/RowIdTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/DialectChecks.java
Log Message:
-----------
HHH-15958 much better support for @RowId annotation
- the rowid pseudo-column and type are now determined automatically from Dialect
- works (after all these years) in Postgres (and also on h2)
- introduce RowIdJdbcType (not strictly necessary, but a nicety)