[hibernate/hibernate-orm] 7a6cef: Miscellaneous
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 7a6cef5838a47ac95601e5c50879ead2dd732c52
https://github.com/hibernate/hibernate-orm/commit/7a6cef5838a47ac95601e5c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-09 (Thu, 09 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Annotations.adoc
M documentation/src/main/asciidoc/userguide/chapters/domain/DomainModel.adoc
M documentation/src/main/asciidoc/userguide/chapters/domain/access.adoc
A documentation/src/main/asciidoc/userguide/chapters/domain/customizing.adoc
M documentation/src/test/java/org/hibernate/userguide/mapping/identifier/composite/EmbeddedIdDatabaseGeneratedValueTest.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdSqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Informix10Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixSqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Ingres10Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Ingres9Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresSqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MaxDBSqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteSqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseAnywhereDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseAnywhereSqlAstTranslator.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/Teradata14Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/BasicValueBinder.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/SimpleAttributeBinderTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/System.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/YesNo.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/YesNoBinder.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/attributebinder/package-info.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/strategy/ValidityAuditStrategyRevEndTsTest.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisPG10Dialect.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisPG93Dialect.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisPG94Dialect.java
M hibernate-spatial/src/main/java/org/hibernate/spatial/dialect/postgis/PostgisPG95Dialect.java
M hibernate-spatial/src/test/java/org/hibernate/spatial/testing/TestSupportFactories.java
Log Message:
-----------
Miscellaneous
- Finished DialectVersion
- User Guide tidying
- User Guide section on AttributeBinder
3 years, 1 month
[hibernate/hibernate-orm] 09cc6d: HHH-14950 - Support mapping of embeddables with no...
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 09cc6d7b0013cb10006b1925e6d7ed7ffdff5138
https://github.com/hibernate/hibernate-orm/commit/09cc6d7b0013cb10006b192...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/InstantiationTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/TempInstantiationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/TempInstantiationTests.java
Log Message:
-----------
HHH-14950 - Support mapping of embeddables with no setters (assuming a custom instantiator or repo-strategy is used)
Tests
Commit: fa4b76702c396aa7130e66abe9fa0028a68fd809
https://github.com/hibernate/hibernate-orm/commit/fa4b76702c396aa7130e66a...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
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/tuple/Tuplizer.java
R hibernate-core/src/main/java/org/hibernate/tuple/component/AbstractComponentTuplizer.java
R hibernate-core/src/main/java/org/hibernate/tuple/component/ComponentMetamodel.java
R hibernate-core/src/main/java/org/hibernate/tuple/component/ComponentTuplizer.java
R hibernate-core/src/main/java/org/hibernate/tuple/component/ComponentTuplizerFactory.java
R hibernate-core/src/main/java/org/hibernate/tuple/component/DynamicMapComponentTuplizer.java
R hibernate-core/src/main/java/org/hibernate/tuple/component/PojoComponentTuplizer.java
M hibernate-core/src/main/java/org/hibernate/type/ComponentType.java
M hibernate-core/src/main/java/org/hibernate/type/EmbeddedComponentType.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/BasicCriteriaUsageTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/embeddable/Person.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/embedded/Person.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/InstantiationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/Person.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf/TempInstantiationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/InstantiationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/Name.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/NameInstantiator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/Person.java
R hibernate-core/src/test/java/org/hibernate/orm/test/mapping/embeddable/strategy/instantiator/intf2/TempInstantiationTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/db2/DB2CustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/derby/DerbyCustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/mysql/MySQLCustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/oracle/OracleCustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/sqlserver/SQLServerCustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/sql/hand/custom/sybase/SybaseCustomSQLTest.java
M hibernate-core/src/test/java/org/hibernate/test/sql/hand/query/NativeSQLQueriesTest.java
M hibernate-graalvm/src/main/java/org/hibernate/graalvm/internal/StaticClassLists.java
Log Message:
-----------
HHH-14950 - Support mapping of embeddables with no setters (assuming a custom instantiator or repo-strategy is used)
Tests;
Remove `ComponentTuplizer` and friends;
Remove `ComponentMetadata`
Compare: https://github.com/hibernate/hibernate-orm/compare/37bc00e567f7...fa4b767...
3 years, 1 month
[hibernate/hibernate-orm] 37bc00: HHH-10558 - Add support for java.time.Year;
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 37bc00e567f7ba1ec602af28dcd9d3c06a8c0018
https://github.com/hibernate/hibernate-orm/commit/37bc00e567f7ba1ec602af2...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/type/descriptor/java/YearJavaTypeDescriptor.java
A hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneIdJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/ZoneOffsetJavaTypeDescriptor.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/java/spi/JavaTypeDescriptorBaseline.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/java/YearMappingTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/mapping/type/java/ZoneMappingTests.java
Log Message:
-----------
HHH-10558 - Add support for java.time.Year;
HHH-13393 - Add support for ZoneId
ZoneOffsetJavaTypeDescriptor was already added
3 years, 1 month
[hibernate/hibernate-orm] 43206b: initial work on DatabaseVersion#isAfter
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 43206b02fc7574817f6a8138fffa755420af03c5
https://github.com/hibernate/hibernate-orm/commit/43206b02fc7574817f6a813...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/dialect/DatabaseVersion.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/spi/DialectResolutionInfo.java
R hibernate-core/src/main/java/org/hibernate/engine/jdbc/dialect/spi/DialectVersionDetails.java
Log Message:
-----------
initial work on DatabaseVersion#isAfter
Commit: d354d49ab13192e293aff89b39969a0dfcfd1a1e
https://github.com/hibernate/hibernate-orm/commit/d354d49ab13192e293aff89...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/DatabaseVersion.java
Log Message:
-----------
added `DatabaseVersion#getCanonicalVersion`
Commit: 10d759e139d21f0298307c3bf92527b4d8d00d15
https://github.com/hibernate/hibernate-orm/commit/10d759e139d21f0298307c3...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CUBRIDDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/CacheDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MaxDBDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/MimerSQLDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/RDMSOS2200Dialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TimesTenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/AbstractHANADialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB297Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/DatabaseVersion.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbySqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyTenFiveDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyTenSevenDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyTenSixDialect.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/H2SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANACloudColumnStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANAColumnStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANARowStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB102Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB103Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB10Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDB53Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQL55Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQL57Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQL5Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQL8Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle10gDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle12cDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle8iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Oracle9iDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL81Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL82Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL91Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL92Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL93Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL94Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL95Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQL9Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgresPlusDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2005Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2008Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2012Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServer2016Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerSqlAstTranslator.java
A hibernate-core/src/main/java/org/hibernate/dialect/SimpleDatabaseVersion.java
M hibernate-core/src/main/java/org/hibernate/dialect/SpannerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Sybase11Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE157Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASE15Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASESqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TiDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TiDBSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/identity/HSQLIdentityColumnSupport.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/LegacyOracleLimitHandler.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/EntityTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/uniqueconstraint/MySQLDropConstraintThrowsExceptionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/qualfiedTableNaming/QualifiedTableNamingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/jpa/PersistenceUnitOverridesTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/DerbyDialectTestCase.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/TestingDialects.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/function/SybaseASEFunctionTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/HANASearchTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/MariaDBExtractSequenceMetadataTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/functional/SequenceInformationMariaDBTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/locktimeout/DB2LockTimeoutTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/sequence/DerbyTenFiveDialectSequenceInformationExtractorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/sequence/DerbyTenSevenDialectSequenceInformationExtractorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/dialect/unit/sequence/DerbyTenSixDialectSequenceInformationExtractorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/generatedkeys/select/SelectGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/generatedkeys/seqidentity/JoinedSequenceIdentityBatchTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/generatedkeys/seqidentity/SequenceIdentityTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/hql/ScrollableCollectionFetchingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/QuotedIdentifierTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SQLServer2012SequenceGeneratorAnnotationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SQLServer2012SequenceGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/SequenceGeneratorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/array/ByteArrayIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/array/PrimitiveByteArrayIdTest.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/id/hhh12973/PostgreSQLSequenceGeneratorWithSerialTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/sequence/PostgreSQLIdentitySequenceTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/uuid/PostgreSQLUUIDGeneratedValueTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/uuid/interpretation/UUIDBasedIdInterpretationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/discriminator/PersistChildEntitiesWithDiscriminatorTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jdbc/env/DefaultSchemaNameResolverTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jdbc/env/NoDatabaseMetaDataTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/basic/PredicateTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/criteria/subquery/CorrelatedSubqueryTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/naturalid/MutableNaturalIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/query/NativeQueryOrdinalParametersTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/lob/SerializableTypeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/locking/LockModeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/AttributeConverterTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/generated/PartiallyGeneratedComponentTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mixed/MixedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/nationalized/StringNationalizedTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/ops/OracleNoColumnInsertTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/ordered/HqlOrderByIdsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/procedure/MySQLStoredProcedureTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/procedure/SQLServerStoredProcedureCrossDatabaseTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/procedure/SQLServerStoredProcedureCrossSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/procedure/SQLServerStoredProcedureTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/queryhint/OracleQueryHintTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/queryhint/QueryHintSQLServer2012Test.java
M hibernate-core/src/test/java/org/hibernate/orm/test/rowid/RowIdTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/rowid/RowIdTest2.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/AlterTableQuoteDefaultSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/AlterTableQuoteSpecifiedSchemaTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/CommentGenerationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/SchemaExportSqlServerWithSequenceDefaultSchemaCatalog.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemaupdate/SchemaUpdateSchemaNameTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/schemavalidation/SynonymValidationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/temporal/MySQL57TimestampPropertyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/timestamp/JdbcTimestampUTCTimeZoneTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/timestamp/JdbcTimestampWithDefaultUTCTimeZoneTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/timestamp/JdbcTimestampWithoutUTCTimeZoneTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/AbstractJavaTimeTypeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/InstantTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/LocalDateTimeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/OffsetDateTimeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/SQLServer2008NVarCharTypeTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/type/ZonedDateTimeTest.java
M hibernate-core/src/test/java/org/hibernate/test/pagination/OraclePaginationWithLocksTest.java
M hibernate-core/src/test/java/org/hibernate/test/sql/hand/query/NativeSQLQueriesTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/junit4/CustomRunner.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFilterExtension.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/RequiresDialect.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/SkipForDialect.java
Log Message:
-----------
Dialect version
Commit: 942dd7283fdf726391663b25646ad0629a5e9d3a
https://github.com/hibernate/hibernate-orm/commit/942dd7283fdf726391663b2...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/FirebirdDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SQLiteDialect.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/TeradataDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/CockroachDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DB2SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/DatabaseVersion.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbySqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/H2SqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/HANAColumnStoreDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/HSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MariaDBSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/MySQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/OracleSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/PostgreSQLSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SQLServerSqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASEDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseASESqlAstTranslator.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TiDBSqlAstTranslator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/converted/converter/AttributeConverterTest.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFeatureChecks.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/junit/DialectFilterExtension.java
Log Message:
-----------
DialectVersion
- rename `#isSince` to `#isSameOrAfter`
Compare: https://github.com/hibernate/hibernate-orm/compare/ad48a01e2c8b...942dd72...
3 years, 1 month
[hibernate/hibernate-orm] c39426: HHH-14497 - Drop legacy id-generator settings;
by Steve Ebersole
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: c39426150863aee3af289197400881669319a0eb
https://github.com/hibernate/hibernate-orm/commit/c39426150863aee3af28919...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/internal/SqlStringGenerationContextImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadata.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/BootstrapContext.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/Mapping.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionFactoryDelegatingImpl.java
A hibernate-core/src/main/java/org/hibernate/id/factory/IdGenCreationLogging.java
M hibernate-core/src/main/java/org/hibernate/id/factory/IdentifierGeneratorFactory.java
R hibernate-core/src/main/java/org/hibernate/id/factory/internal/DefaultIdentifierGeneratorFactory.java
R hibernate-core/src/main/java/org/hibernate/id/factory/internal/MutableIdentifierGeneratorFactoryInitiator.java
A hibernate-core/src/main/java/org/hibernate/id/factory/internal/StandardIdentifierGeneratorFactory.java
R hibernate-core/src/main/java/org/hibernate/id/factory/spi/MutableIdentifierGeneratorFactory.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/boot/internal/EntityManagerFactoryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
M hibernate-core/src/main/java/org/hibernate/mapping/Table.java
M hibernate-core/src/main/java/org/hibernate/persister/collection/AbstractCollectionPersister.java
M hibernate-core/src/main/java/org/hibernate/service/StandardServiceInitiators.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardTableExporter.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/uuid/GeneratedValueTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/enhanced/auto/AutoGenerationTypeTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/identity/hhh10429/IdentityGeneratorExtendsTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/idgen/userdefined/UserDefinedGeneratorsTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/compliance/tck2_2/GeneratedValueTests.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations;
HHH-14959 - Drop IdentifierGeneratorFactory as a Service
Commit: ce4f22f4003d53e6a8dfdfa2b95b1a1f6b204679
https://github.com/hibernate/hibernate-orm/commit/ce4f22f4003d53e6a8dfdfa...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/annotations/IdGeneratorType.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/HCANNHelper.java
A hibernate-core/src/main/java/org/hibernate/id/factory/spi/CustomIdGeneratorCreationContext.java
A hibernate-core/src/main/java/org/hibernate/mapping/IdentifierGeneratorCreator.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/CustomGeneratorTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/Sequence.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/SimpleSequenceGenerator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/TheEntity.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations;
HHH-14959 - Drop IdentifierGeneratorFactory as a Service;
HHH-14960 - Add @GeneratorType for better custom generator config
Commit: c5ad9e129e58285078c4aa4d823c89e23843f30c
https://github.com/hibernate/hibernate-orm/commit/c5ad9e129e58285078c4aa4...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/annotations/UuidGenerator.java
M hibernate-core/src/main/java/org/hibernate/cfg/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerationStrategy.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/CustomVersionOneStrategy.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/StandardRandomStrategy.java
A hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/CustomGeneratorTests.java
M hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/SimpleSequenceGenerator.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/uuid/annotation/TheEntity.java
A hibernate-core/src/test/java/org/hibernate/orm/test/id/uuid/annotation/UuidGeneratorAnnotationTests.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations;
HHH-14959 - Drop IdentifierGeneratorFactory as a Service;
HHH-14960 - Add @GeneratorType for better custom generator config
Commit: 1e8f6f9bbd471117dab379c17f8e24282372ec65
https://github.com/hibernate/hibernate-orm/commit/1e8f6f9bbd471117dab379c...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/id/AbstractUUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/Assigned.java
M hibernate-core/src/main/java/org/hibernate/id/BulkInsertionCapableIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/CompositeNestedGeneratedValueGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/ForeignGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/GUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/IncrementGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/OptimizableGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/PostInsertIdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/UUIDGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/factory/internal/StandardIdentifierGeneratorFactory.java
A hibernate-core/src/main/java/org/hibernate/id/factory/spi/StandardGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/uuid/UuidGenerator.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations;
HHH-14959 - Drop IdentifierGeneratorFactory as a Service;
HHH-14960 - Add @GeneratorType for better custom generator config
org.hibernate.id.factory.spi.StandardGenerator
Commit: 3c97ac2077bc072322dbb961e667f9f208cde553
https://github.com/hibernate/hibernate-orm/commit/3c97ac2077bc072322dbb96...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/id/custom/CustomGeneratorTests.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations;
HHH-14959 - Drop IdentifierGeneratorFactory as a Service;
HHH-14960 - Add @GeneratorType for better custom generator config
Fixed CustomGeneratorTests failure on databases which do not support sequences
Commit: 848c9f09144e3c04351a215d107f3dd0fdde124d
https://github.com/hibernate/hibernate-orm/commit/848c9f09144e3c04351a215...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/IdGeneratorStrategyInterpreter.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/id/GUIDGenerator.java
R hibernate-core/src/main/java/org/hibernate/id/factory/IdGenCreationLogging.java
A hibernate-core/src/main/java/org/hibernate/id/factory/IdGenFactoryLogging.java
M hibernate-core/src/main/java/org/hibernate/id/factory/IdentifierGeneratorFactory.java
A hibernate-core/src/main/java/org/hibernate/id/factory/internal/AutoGenerationTypeStrategy.java
A hibernate-core/src/main/java/org/hibernate/id/factory/internal/IdentityGenerationTypeStrategy.java
A hibernate-core/src/main/java/org/hibernate/id/factory/internal/SequenceGenerationTypeStrategy.java
M hibernate-core/src/main/java/org/hibernate/id/factory/internal/StandardIdentifierGeneratorFactory.java
A hibernate-core/src/main/java/org/hibernate/id/factory/internal/TableGenerationTypeStrategy.java
A hibernate-core/src/main/java/org/hibernate/id/factory/spi/GenerationTypeStrategy.java
A hibernate-core/src/main/java/org/hibernate/id/factory/spi/GenerationTypeStrategyRegistration.java
A hibernate-core/src/main/java/org/hibernate/id/factory/spi/GeneratorDefinitionResolver.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
M hibernate-core/src/main/java/org/hibernate/internal/log/DeprecationLogger.java
M hibernate-core/src/main/java/org/hibernate/jpa/spi/IdentifierGeneratorStrategyProvider.java
M hibernate-core/src/main/java/org/hibernate/mapping/SimpleValue.java
Log Message:
-----------
HHH-14497 - Drop legacy id-generator settings;
HHH-14718 - Drop deprecated generator implementations;
HHH-14959 - Drop IdentifierGeneratorFactory as a Service;
HHH-14960 - Add @GeneratorType for better custom generator config;
HHH-14496 - Deprecate (or drop) IdGeneratorStrategyInterpreter;
HHH-14961 - Deprecate (or drop) IdentifierGeneratorStrategyProvider;
HHH-14962 - Delay actual creation of IdentifierGenerator instances as late as possible
Add `GenerationTypeStrategy` and `GenerationTypeStrategyRegistration`;
deprecate org.hibernate.jpa.spi.IdentifierGeneratorStrategyProvider
Commit: ad48a01e2c8b37279913566255761be8f1c10437
https://github.com/hibernate/hibernate-orm/commit/ad48a01e2c8b37279913566...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
Log Message:
-----------
Fix PropertyBinder to use HCANNHelper to resolve meta-annotations
Compare: https://github.com/hibernate/hibernate-orm/compare/365aa5825417...ad48a01...
3 years, 1 month
[hibernate/hibernate-orm] b2e696: remove MultiTenancyStrategy
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: b2e69655779a00ff3f4205fbed7b0ca171419cf2
https://github.com/hibernate/hibernate-orm/commit/b2e69655779a00ff3f4205f...
Author: gavin <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/multitenancy/MultiTenancy.adoc
M documentation/src/test/java/org/hibernate/userguide/multitenancy/AbstractMultiTenancyTest.java
M documentation/src/test/java/org/hibernate/userguide/multitenancy/DatabaseMultiTenancyTest.java
M documentation/src/test/java/org/hibernate/userguide/multitenancy/DatabaseTimeZoneMultiTenancyTest.java
M documentation/src/test/java/org/hibernate/userguide/multitenancy/SchemaMultiTenancyTest.java
R hibernate-core/src/main/java/org/hibernate/MultiTenancyStrategy.java
M hibernate-core/src/main/java/org/hibernate/boot/SessionFactoryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingMetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryBuilder.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/AbstractDelegatingSessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/MetadataBuildingOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/spi/SessionFactoryOptions.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/cfg/Settings.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/ConnectionProviderInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/connections/internal/MultiTenantConnectionProviderInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/env/internal/JdbcEnvironmentInitiator.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcServicesImpl.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/SessionFactoryImpl.java
Log Message:
-----------
remove MultiTenancyStrategy
Use the existence of a MultiTenantConnectionProvider to infer that multitenancy is enabled.
Commit: 505bea6ffdc427dc74f6d51aa48df7b7916cbd7f
https://github.com/hibernate/hibernate-orm/commit/505bea6ffdc427dc74f6d51...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/annotations/TenantId.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/AbstractSharedSessionContract.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
A hibernate-core/src/main/java/org/hibernate/tuple/TenantIdGeneration.java
A hibernate-core/src/test/java/org/hibernate/test/tenantid/Account.java
A hibernate-core/src/test/java/org/hibernate/test/tenantid/TenantIdTest.java
Log Message:
-----------
HHH-6054 support for discriminator-based multitenancy
added the @TenantId annotation
also allow @TenantId @Formula
Commit: 6f0676cf9676130247ea564b70f68aa76e7d828d
https://github.com/hibernate/hibernate-orm/commit/6f0676cf9676130247ea564...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/chapters/multitenancy/MultiTenancy.adoc
Log Message:
-----------
HHH-6054 add docs for @TenantId
Commit: 8af548b52d3cfbe438799f11665f035694f0e4dd
https://github.com/hibernate/hibernate-orm/commit/8af548b52d3cfbe438799f1...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tuple/AnnotationValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/TenantIdGeneration.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGenerator.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/TenantIdTest.java
Log Message:
-----------
HHH-6054 allow ValueGenerator to inspect current value of property
use this to throw exception from TenantIdGeneration
Commit: ea0dd35362e1b35c07d286b6a88a4f119354c80f
https://github.com/hibernate/hibernate-orm/commit/ea0dd35362e1b35c07d286b...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/Account.java
A hibernate-core/src/test/java/org/hibernate/test/tenantid/Client.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/TenantIdTest.java
Log Message:
-----------
HHH-6054 improve error checking
Commit: 5837a60e71e1590e971f640d16c134e53833f034
https://github.com/hibernate/hibernate-orm/commit/5837a60e71e1590e971f640...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
A hibernate-core/src/main/java/org/hibernate/annotations/AttributeBinderType.java
M hibernate-core/src/main/java/org/hibernate/annotations/TenantId.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
A hibernate-core/src/main/java/org/hibernate/tuple/AttributeBinder.java
A hibernate-core/src/main/java/org/hibernate/tuple/TenantIdBinder.java
M hibernate-core/src/main/java/org/hibernate/tuple/TenantIdGeneration.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/Account.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/TenantIdTest.java
Log Message:
-----------
HHH-6054 introduce AttributeBinder and @AttributeBinderType
and introduce TenantIdBinder on top of this stuff
also make @TenantId imply non-null, immutable
Commit: 2a2bf17f8f75a7f315893b51263f19378846ca21
https://github.com/hibernate/hibernate-orm/commit/2a2bf17f8f75a7f315893b5...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/AttributeAccessor.java
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
A hibernate-core/src/main/java/org/hibernate/tuple/AttributeAccessorBinder.java
M hibernate-core/src/main/java/org/hibernate/tuple/TenantIdBinder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/bootstrap/binding/annotations/access/AttributeAccessorTest.java
M hibernate-envers/src/test/java/org/hibernate/orm/test/envers/integration/accesstype/AttributeAccessorTest.java
Log Message:
-----------
redefine AttributeAccessor in terms of the new AttributeBinder API
Commit: 341eb413f06eca88e91bd17703c09395ec2ade8e
https://github.com/hibernate/hibernate-orm/commit/341eb413f06eca88e91bd17...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/annotations/PropertyBinder.java
Log Message:
-----------
clean up PropertyBinder a bit
Commit: 47d0b1265fdebbaccc1f0eb5d863b48a8b9f2b2b
https://github.com/hibernate/hibernate-orm/commit/47d0b1265fdebbaccc1f0eb...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/test/tenantid/TenantIdTest.java
Log Message:
-----------
improve the test for tenant ids
Commit: 8f7e0c4c2fdcd36b1a0e9e3f0131442f0891dae6
https://github.com/hibernate/hibernate-orm/commit/8f7e0c4c2fdcd36b1a0e9e3...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/context/spi/CurrentTenantIdentifierResolver.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/TenantIdGeneration.java
Log Message:
-----------
HHH-6054 introduce notion of a "root" tenant
Commit: 6d43d62a5a0c8863b62ab5709c2171251f81702d
https://github.com/hibernate/hibernate-orm/commit/6d43d62a5a0c8863b62ab57...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/multitenancy/ConfigurationValidationTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/multitenancy/discriminator/DiscriminatorMultiTenancyTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/multitenancy/schema/AbstractSchemaBasedMultiTenancyTest.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/Account.java
M hibernate-core/src/test/java/org/hibernate/test/tenantid/Client.java
Log Message:
-----------
fix test fallout from rebase
update test to jakarta package name
and refix moved tests
Commit: 13983e1449e65c11c4cc651c3f95eb5dfd34b09b
https://github.com/hibernate/hibernate-orm/commit/13983e1449e65c11c4cc651...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/MetadataBuilderImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/SessionFactoryOptionsBuilder.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/internal/JdbcServicesImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/multitenancy/schema/AbstractSchemaBasedMultiTenancyTest.java
Log Message:
-----------
detect the MultiTenantConnectionProvider when registered as a service
instead of looking at the property
Commit: ce3644e81dd911f0f608dc931c16dd8d81879605
https://github.com/hibernate/hibernate-orm/commit/ce3644e81dd911f0f608dc9...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/AttributeBinderType.java
Log Message:
-----------
add a wildcard to generic type
and slightly improve javadoc
Commit: 365aa58254177b2df092658a7b6c36f3a6cebbcd
https://github.com/hibernate/hibernate-orm/commit/365aa58254177b2df092658...
Author: Gavin King <gavin(a)hibernate.org>
Date: 2021-12-08 (Wed, 08 Dec 2021)
Changed paths:
M documentation/src/main/asciidoc/userguide/appendices/Annotations.adoc
Log Message:
-----------
add two new annotations to the list in Annotations.adoc
Compare: https://github.com/hibernate/hibernate-orm/compare/915da5228d8e...365aa58...
3 years, 1 month