[hibernate/hibernate-orm] d90807: HHH-17117 allow @TenantId to form part of composit...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: d90807f9e4a2775396952139ad7a97a602b2a637
https://github.com/hibernate/hibernate-orm/commit/d90807f9e4a277539695213...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/TenantId.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractSaveEventListener.java
M hibernate-core/src/main/java/org/hibernate/generator/internal/TenantIdGeneration.java
M hibernate-core/src/main/java/org/hibernate/internal/FilterImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Component.java
M hibernate-core/src/main/java/org/hibernate/mapping/KeyValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
A hibernate-core/src/test/java/org/hibernate/orm/test/tenantidpk/Account.java
A hibernate-core/src/test/java/org/hibernate/orm/test/tenantidpk/Client.java
A hibernate-core/src/test/java/org/hibernate/orm/test/tenantidpk/TenantPkTest.java
M tooling/metamodel-generator/src/main/java/org/hibernate/processor/util/xml/XmlParserHelper.java
Log Message:
-----------
HHH-17117 allow @TenantId to form part of composite key
Signed-off-by: Gavin King <gavin(a)hibernate.org>
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 2 weeks
[hibernate/hibernate-orm] 7402e1: HHH-18337 Add test for issue
by Marco Belladelli
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 7402e1a1538ecd2cbf6eb6338880c584cbc96a6e
https://github.com/hibernate/hibernate-orm/commit/7402e1a1538ecd2cbf6eb63...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/id/sequence/PooledWithCustomNamingStrategyTest.java
Log Message:
-----------
HHH-18337 Add test for issue
Commit: 4b06bf63cdd20a5a2ddb75d3872fde77f58bcc1a
https://github.com/hibernate/hibernate-orm/commit/4b06bf63cdd20a5a2ddb75d...
Author: Marco Belladelli <marcobladel(a)gmail.com>
Date: 2024-08-26 (Mon, 26 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorParameters.java
M hibernate-core/src/main/java/org/hibernate/generator/GeneratorCreationContext.java
M hibernate-core/src/main/java/org/hibernate/id/Configurable.java
M hibernate-core/src/main/java/org/hibernate/id/ForeignGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PersistentIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDHexGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceStyleGeneratorBehavesLikeSequeceHiloGeneratorWitZeroIncrementSizeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/enhanced/SequenceStyleConfigUnitTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/table/Db2GenerationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/NativeGenerator.java
M migration-guide.adoc
Log Message:
-----------
HHH-18337 Account for physical naming strategy when querying db sequence
Introduced new signature for `Configurable#configure` which accepts a `GeneratorCreationContext`.
Compare: https://github.com/hibernate/hibernate-orm/compare/d306aadb9d83...4b06bf6...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 2 weeks
[hibernate/hibernate-orm] 64a984: HHH-18512 @EnumeratedValue and PostgreSQL named en...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 64a98417e28f50c53497091a029423e22986e178
https://github.com/hibernate/hibernate-orm/commit/64a98417e28f50c53497091...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/process/internal/EnumeratedValueConverter.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleOrdinalEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLOrdinalEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/mapping/BasicValue.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/converter/internal/EnumHelper.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/converter/spi/BasicValueConverter.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/EnumJavaType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/function/array/ArrayAggregateTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/PostgresqlNamedEnumEnumerateValueTests.java
Log Message:
-----------
HHH-18512 @EnumeratedValue and PostgreSQL named enum types
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 54d80f6d1cfcc903d7196f257227025ead0154d5
https://github.com/hibernate/hibernate-orm/commit/54d80f6d1cfcc903d7196f2...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/NamedEnumEnumerateValueTests.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/enumeratedvalue/PostgresqlNamedEnumEnumerateValueTests.java
Log Message:
-----------
HHH-18512 @EnumeratedValue and Oracle named enum types
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Commit: 1f9add32c27781ce753c19ba0a85e94f5c3f2356
https://github.com/hibernate/hibernate-orm/commit/1f9add32c27781ce753c19b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-23 (Fri, 23 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleArrayJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleOrdinalEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLArrayJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLOrdinalEnumJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/ArrayJdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/JdbcType.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/ArrayDdlTypeImpl.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/sql/internal/DdlTypeImpl.java
Log Message:
-----------
HHH-18512 cleanup code surrounding custom PostgreSQL and Oracle types
Signed-off-by: Gavin King <gavin(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-orm/compare/5dcbdf64f11d...1f9add3...
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks
[hibernate/hibernate-orm] 5dcbdf: code cleanups to SequenceStyleGenerator and TableG...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 5dcbdf64f11dfdcf25fd5a4a571f978b5ade2a8e
https://github.com/hibernate/hibernate-orm/commit/5dcbdf64f11dfdcf25fd5a4...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2024-08-22 (Thu, 22 Aug 2024)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGeneratorHelper.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/Optimizer.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStructure.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/SequenceStyleGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/enhanced/TableStructure.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/SchemaUpdateTableBackedSequenceTest.java
M hibernate-envers/src/main/java/org/hibernate/envers/enhanced/OrderedSequenceStructure.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/various/ExportIdentifierTest.java
Log Message:
-----------
code cleanups to SequenceStyleGenerator and TableGenerator (#8816)
* code cleanups to SequenceStyleGenerator and TableGenerator
Signed-off-by: Gavin King <gavin(a)hibernate.org>
* code cleanups to TableStructure and SequenceStructure
Signed-off-by: Gavin King <gavin(a)hibernate.org>
* more very minor cleanups around enhanced generators
Signed-off-by: Gavin King <gavin(a)hibernate.org>
* more very minor cleanups around enhanced generators
Signed-off-by: Gavin King <gavin(a)hibernate.org>
* more very minor cleanups around enhanced generators
Signed-off-by: Gavin King <gavin(a)hibernate.org>
---------
Signed-off-by: Gavin King <gavin(a)hibernate.org>
To unsubscribe from these emails, change your notification settings at https://github.com/hibernate/hibernate-orm/settings/notifications
3 months, 3 weeks