[hibernate/hibernate-orm] 76b2f9: HHH-15958 support the @RowId annotation on DB2 LUW
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 76b2f92f396f3f42cfba524ef734c5c49fc59ebc
https://github.com/hibernate/hibernate-orm/commit/76b2f92f396f3f42cfba524...
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/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2zDialect.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/dialect/TiDBDialect.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.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 support the @RowId annotation on DB2 LUW
... and perhaps also on DB2 for z and i (no way to test it)
Commit: e48a8120a93e1f42c3e7bb7b4e1b20dcd664e471
https://github.com/hibernate/hibernate-orm/commit/e48a8120a93e1f42c3e7bb7...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-01 (Sun, 01 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/internal/DefaultLoadEventListener.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesCacheHit.java
M hibernate-core/src/main/java/org/hibernate/sql/results/jdbc/internal/JdbcValuesResultSetImpl.java
Log Message:
-----------
improve some error messages
Compare: https://github.com/hibernate/hibernate-orm/compare/366208924fa5...e48a812...
1 year, 11 months
[hibernate/hibernate-orm] 366208: clean up the JdbcSessionContext SPI + related code
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 366208924fa51ae7ab7acca88ec9bc772535cc40
https://github.com/hibernate/hibernate-orm/commit/366208924fa51ae7ab7acca...
Author: Gavin <gavin(a)hibernate.org>
Date: 2023-01-01 (Sun, 01 Jan 2023)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/batch/internal/BatchImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/MutationStatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/StatementPreparerImpl.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/JdbcServices.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/FastSessionServices.java
M hibernate-core/src/main/java/org/hibernate/internal/JdbcObserverImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/JdbcSessionContextImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/LogicalConnection.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/LogicalConnectionManagedImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/JdbcObserver.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/JdbcSessionContext.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/internal/JdbcIsolationDelegate.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/internal/JdbcResourceLocalTransactionCoordinatorBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jdbc/internal/JdbcResourceLocalTransactionCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaIsolationDelegate.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/backend/jta/internal/JtaTransactionCoordinatorImpl.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/spi/TransactionCoordinator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/transaction/batch/AbstractBatchingTest.java
Log Message:
-----------
clean up the JdbcSessionContext SPI + related code
- encapsulate stuff better within JdbcSessionContext
- fix lots of warnings
- deprecate stuff
1 year, 11 months
[hibernate/hibernate-orm] 689cca: HHH-15958 much better support for @RowId annotation
by Gavin King
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)
1 year, 11 months