[hibernate/hibernate-orm] 3569ef: finish updating javadoc of query package
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 3569efcf7ac56801c9496a10fd53240a5a100724
https://github.com/hibernate/hibernate-orm/commit/3569efcf7ac56801c9496a1...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-28 (Wed, 28 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/query/CommonQueryContract.java
M hibernate-core/src/main/java/org/hibernate/query/MutationQuery.java
M hibernate-core/src/main/java/org/hibernate/query/NativeQuery.java
M hibernate-core/src/main/java/org/hibernate/query/Query.java
M hibernate-core/src/main/java/org/hibernate/query/QueryProducer.java
M hibernate-core/src/main/java/org/hibernate/query/SelectionQuery.java
M hibernate-core/src/main/java/org/hibernate/query/package-info.java
A hibernate-core/src/test/java/org/hibernate/BugTest.java
A hibernate-core/src/test/java/org/hibernate/StringListToStringConverter.java
Log Message:
-----------
finish updating javadoc of query package
1 year, 12 months
[hibernate/hibernate-orm] b0479c: HHH-15888 clean up exception reporting in Column
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: b0479c5f2981fdb7b38bc9634f74332d8913bbc6
https://github.com/hibernate/hibernate-orm/commit/b0479c5f2981fdb7b38bc96...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/RelationalObjectBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/temptable/TemporaryTable.java
M hibernate-core/src/main/java/org/hibernate/id/ExportableColumn.java
M hibernate-core/src/main/java/org/hibernate/mapping/Column.java
M hibernate-core/src/main/java/org/hibernate/mapping/Formula.java
M hibernate-core/src/main/java/org/hibernate/mapping/Selectable.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/function/SelfRenderingFunctionSqlAstExpression.java
Log Message:
-----------
HHH-15888 clean up exception reporting in Column
- and generally tidy up that class a bit
- make state management in Column safer using assertions
- fix minor potential bug spotted by CodeQL
Commit: c86539b6b10f438553ecc017b0cbf180e751ead6
https://github.com/hibernate/hibernate-orm/commit/c86539b6b10f438553ecc01...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/event/spi/EventEngine.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
Log Message:
-----------
clean up the constructor of SessionFactoryImpl
this was a really awful mess!
Commit: 7f444e41bfc35e80bafbc881d332023303dbb159
https://github.com/hibernate/hibernate-orm/commit/7f444e41bfc35e80bafbc88...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
Log Message:
-----------
add a cross-ref to jdoc that I forgot
Commit: 713b1a82cf19e7edc281239771fb12027063ab0a
https://github.com/hibernate/hibernate-orm/commit/713b1a82cf19e7edc281239...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/javadoc/overview.html
Log Message:
-----------
fix indenting
Commit: 0ff3379f698b735f66bc0cf04dab91992f178fb9
https://github.com/hibernate/hibernate-orm/commit/0ff3379f698b735f66bc0cf...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
Log Message:
-----------
rename an instvar
Commit: f7a4343a33dd670ab34da0318c8158773b4b398f
https://github.com/hibernate/hibernate-orm/commit/f7a4343a33dd670ab34da03...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/package-info.java
Log Message:
-----------
write a bit of an essay about the mapping package
Commit: 6c3131b981820b1a4b8749ef4428e7d430998195
https://github.com/hibernate/hibernate-orm/commit/6c3131b981820b1a4b8749e...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/context/spi/CurrentSessionContext.java
Log Message:
-----------
improve doc for CurrentSessionContext
Compare: https://github.com/hibernate/hibernate-orm/compare/109dac9a856b...6c3131b...
1 year, 12 months
[hibernate/hibernate-orm] 33c228: add a Hibernate look to the javadoc
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 33c228e715cec9c58e5c55bca84d7dcb26abb116
https://github.com/hibernate/hibernate-orm/commit/33c228e715cec9c58e5c55b...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/hibernate-core.gradle
A hibernate-core/src/main/javadoc/overview.html
R hibernate-core/src/main/javadoc/package.html
M hibernate-core/src/main/javadoc/stylesheet.css
M release/release.gradle
M release/src/release/javadoc/overview.html
A release/src/release/javadoc/stylesheet.css
Log Message:
-----------
add a Hibernate look to the javadoc
- add a new stylesheet
- include it in the release
- tidy up the overview page
- include overview and stylesheet when building jdoc from hibernate-core
Commit: 11760d3ce3682a740008b638950201b2cb06cb58
https://github.com/hibernate/hibernate-orm/commit/11760d3ce3682a740008b63...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Cache.java
M hibernate-core/src/main/java/org/hibernate/CacheMode.java
M hibernate-core/src/main/java/org/hibernate/Interceptor.java
M hibernate-core/src/main/java/org/hibernate/LobHelper.java
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/PropertyValueException.java
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/SessionFactory.java
M hibernate-core/src/main/java/org/hibernate/StatelessSession.java
M hibernate-core/src/main/java/org/hibernate/annotations/Any.java
M hibernate-core/src/main/java/org/hibernate/annotations/BatchSize.java
M hibernate-core/src/main/java/org/hibernate/annotations/Cache.java
M hibernate-core/src/main/java/org/hibernate/annotations/CacheConcurrencyStrategy.java
M hibernate-core/src/main/java/org/hibernate/annotations/CascadeType.java
M hibernate-core/src/main/java/org/hibernate/annotations/CollectionId.java
M hibernate-core/src/main/java/org/hibernate/annotations/CollectionIdJavaType.java
M hibernate-core/src/main/java/org/hibernate/annotations/CollectionIdJdbcType.java
M hibernate-core/src/main/java/org/hibernate/annotations/CollectionIdJdbcTypeCode.java
M hibernate-core/src/main/java/org/hibernate/annotations/CollectionIdType.java
M hibernate-core/src/main/java/org/hibernate/annotations/ColumnDefault.java
M hibernate-core/src/main/java/org/hibernate/annotations/ColumnTransformer.java
M hibernate-core/src/main/java/org/hibernate/annotations/CurrentTimestamp.java
M hibernate-core/src/main/java/org/hibernate/annotations/DiscriminatorFormula.java
M hibernate-core/src/main/java/org/hibernate/annotations/Fetch.java
M hibernate-core/src/main/java/org/hibernate/annotations/FetchMode.java
M hibernate-core/src/main/java/org/hibernate/annotations/FetchProfile.java
M hibernate-core/src/main/java/org/hibernate/annotations/Filter.java
M hibernate-core/src/main/java/org/hibernate/annotations/FilterDef.java
M hibernate-core/src/main/java/org/hibernate/annotations/Formula.java
M hibernate-core/src/main/java/org/hibernate/annotations/Generated.java
M hibernate-core/src/main/java/org/hibernate/annotations/GenericGenerator.java
M hibernate-core/src/main/java/org/hibernate/annotations/IdGeneratorType.java
M hibernate-core/src/main/java/org/hibernate/annotations/LazyGroup.java
M hibernate-core/src/main/java/org/hibernate/annotations/LazyToOneOption.java
M hibernate-core/src/main/java/org/hibernate/annotations/ListIndexBase.java
M hibernate-core/src/main/java/org/hibernate/annotations/ListIndexJavaType.java
M hibernate-core/src/main/java/org/hibernate/annotations/ListIndexJdbcType.java
M hibernate-core/src/main/java/org/hibernate/annotations/ListIndexJdbcTypeCode.java
M hibernate-core/src/main/java/org/hibernate/annotations/ManyToAny.java
M hibernate-core/src/main/java/org/hibernate/annotations/MapKeyType.java
M hibernate-core/src/main/java/org/hibernate/annotations/Mutability.java
M hibernate-core/src/main/java/org/hibernate/annotations/NaturalId.java
M hibernate-core/src/main/java/org/hibernate/annotations/NotFound.java
M hibernate-core/src/main/java/org/hibernate/annotations/OptimisticLocking.java
M hibernate-core/src/main/java/org/hibernate/annotations/Polymorphism.java
M hibernate-core/src/main/java/org/hibernate/annotations/SQLDelete.java
M hibernate-core/src/main/java/org/hibernate/annotations/SQLInsert.java
M hibernate-core/src/main/java/org/hibernate/annotations/SQLUpdate.java
M hibernate-core/src/main/java/org/hibernate/annotations/SortComparator.java
M hibernate-core/src/main/java/org/hibernate/annotations/Source.java
M hibernate-core/src/main/java/org/hibernate/annotations/TimeZoneStorage.java
M hibernate-core/src/main/java/org/hibernate/annotations/TimeZoneStorageType.java
M hibernate-core/src/main/java/org/hibernate/annotations/Type.java
M hibernate-core/src/main/java/org/hibernate/annotations/ValueGenerationType.java
M hibernate-core/src/main/java/org/hibernate/annotations/Where.java
M hibernate-core/src/main/java/org/hibernate/annotations/WhereJoinTable.java
M hibernate-core/src/main/java/org/hibernate/annotations/package-info.java
M hibernate-core/src/main/java/org/hibernate/boot/archive/spi/ArchiveDescriptor.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ComponentPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/naming/PhysicalNamingStrategy.java
M hibernate-core/src/main/java/org/hibernate/boot/model/relational/Database.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/spi/RelationalValueSourceContainer.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/DomainDataRegion.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/RegionFactory.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/access/NaturalIdDataAccess.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/access/package-info.java
M hibernate-core/src/main/java/org/hibernate/cache/spi/support/package-info.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/cfg/Configuration.java
M hibernate-core/src/main/java/org/hibernate/cfg/Environment.java
M hibernate-core/src/main/java/org/hibernate/context/internal/ManagedSessionContext.java
M hibernate-core/src/main/java/org/hibernate/dialect/DerbyDialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/dialect/TypeNames.java
M hibernate-core/src/main/java/org/hibernate/dialect/package-info.java
M hibernate-core/src/main/java/org/hibernate/dialect/pagination/SQLServer2005LimitHandler.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/CreateTableUniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/dialect/unique/UniqueDelegate.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/AbstractEntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/internal/EntityEntryContext.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/MutationStatementPreparer.java
M hibernate-core/src/main/java/org/hibernate/engine/jdbc/spi/StatementPreparer.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/EntityEntry.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/LoadQueryInfluencers.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SharedSessionContractImplementor.java
M hibernate-core/src/main/java/org/hibernate/event/spi/MergeContext.java
M hibernate-core/src/main/java/org/hibernate/generator/AnnotationBasedGenerator.java
M hibernate-core/src/main/java/org/hibernate/generator/BeforeExecutionGenerator.java
M hibernate-core/src/main/java/org/hibernate/generator/Generator.java
M hibernate-core/src/main/java/org/hibernate/generator/OnExecutionGenerator.java
M hibernate-core/src/main/java/org/hibernate/generator/internal/VersionGeneration.java
M hibernate-core/src/main/java/org/hibernate/id/IdentifierGenerator.java
M hibernate-core/src/main/java/org/hibernate/id/SelectGenerator.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/factory/IdentifierGeneratorFactory.java
M hibernate-core/src/main/java/org/hibernate/id/insert/InsertGeneratedIdentifierDelegate.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionFactoryImpl.java
M hibernate-core/src/main/java/org/hibernate/jpa/package-info.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/JdbcMapping.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/procedure/ProcedureCall.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/tree/expression/SqmLiteral.java
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/spi/StatementInspector.java
M hibernate-core/src/main/java/org/hibernate/resource/transaction/package-info.java
M hibernate-core/src/main/java/org/hibernate/result/package-info.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/extract/internal/AbstractInformationExtractorImpl.java
M hibernate-core/src/main/java/org/hibernate/tuple/ValueGeneration.java
M hibernate-core/src/main/java/org/hibernate/type/EnumType.java
M hibernate-core/src/main/java/org/hibernate/type/SerializableType.java
M hibernate-core/src/main/java/org/hibernate/type/Type.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/WrapperOptions.java
M hibernate-core/src/main/java/org/hibernate/type/descriptor/jdbc/package-info.java
M hibernate-core/src/main/java/org/hibernate/type/spi/TypeConfiguration.java
M hibernate-core/src/main/java/org/hibernate/usertype/UserType.java
M hibernate-envers/src/main/java/org/hibernate/envers/query/AuditEntity.java
Log Message:
-----------
various jdoc format fixes + improve a package-info
- add some periods
- fix up all the code snippets I messed up
- add some <p>s after lists and code blocks
- improve section of package-info which was hard to understand
- fix jdoc for LobHelper
- fix code example in @ValueGenerationType
Commit: 518328d364e738463640fd8af7c359770599c3ff
https://github.com/hibernate/hibernate-orm/commit/518328d364e738463640fd8...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/DialectOverride.java
M hibernate-core/src/main/java/org/hibernate/annotations/package-info.java
Log Message:
-----------
add a section & example about DialectOverride
Commit: 0a5699f56c9e1b9d0b36bde2c9fe0727c4db090a
https://github.com/hibernate/hibernate-orm/commit/0a5699f56c9e1b9d0b36bde...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M gradle/javadoc.gradle
Log Message:
-----------
filter some noisy packages from the javadoc
Compare: https://github.com/hibernate/hibernate-orm/compare/939adfd457c3...0a5699f...
2 years
[hibernate/hibernate-orm] 2355f9: HHH-14526 tolerate dupe tables in JOINED inheritan...
by Gavin King
Branch: refs/heads/main
Home: https://github.com/hibernate/hibernate-orm
Commit: 2355f98586483f71faca58822f30c3e718af8c52
https://github.com/hibernate/hibernate-orm/commit/2355f98586483f71faca588...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/InformixSqmToSqlAstConverter.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/IngresSqmToSqlAstConverter.java
M hibernate-community-dialects/src/main/java/org/hibernate/community/dialect/SybaseLegacySqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/annotations/DiscriminatorOptions.java
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/dialect/SybaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/mapping/Subclass.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/AbstractCteMutationHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteInsertHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/cte/CteUpdateHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/inline/InlineDeleteHandler.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/ExecuteWithTemporaryTableHelper.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/InsertExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/RestrictedDeleteExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/mutation/internal/temptable/UpdateExecutionDelegate.java
M hibernate-core/src/main/java/org/hibernate/query/sqm/sql/BaseSqmToSqlAstConverter.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/NamedTableReference.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/from/UnionTableReference.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedTableTest.java
Log Message:
-----------
HHH-14526 tolerate dupe tables in JOINED inheritance with discriminator
and also support @DiscriminatorOptions for JOINED inheritance
Commit: 608e4ef6d6e6368ae8fe2fda0a687a2df63c62aa
https://github.com/hibernate/hibernate-orm/commit/608e4ef6d6e6368ae8fe2fd...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoIndirecting.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorPojoStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorRecordIndirecting.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EmbeddableInstantiatorRecordStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EntityInstantiatorPojoStandard.java
M hibernate-core/src/main/java/org/hibernate/resource/beans/spi/ManagedBeanRegistryInitiator.java
M hibernate-core/src/main/java/org/hibernate/tuple/PojoInstantiator.java
Log Message:
-----------
fix error messages in InstantiationExceptions
Commit: b1e2eca53e8cf5bc356224a5bba124af4ab70c25
https://github.com/hibernate/hibernate-orm/commit/b1e2eca53e8cf5bc356224a...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/NaturalIdResolutions.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EntityInstantiatorPojoStandard.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/AbstractEntityInitializer.java
Log Message:
-----------
some cleanups to AbstractEntityInitializer
it had some really long methods
Commit: e918f92f48ae6eda23d96e747cb1050d9a3554cb
https://github.com/hibernate/hibernate-orm/commit/e918f92f48ae6eda23d96e7...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/metamodel/internal/EntityInstantiatorPojoStandard.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CaseStatementDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/DiscriminatorHelper.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tuple/entity/EntityMetamodel.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedTableTest.java
Log Message:
-----------
improvements to how discriminators are handled by AbstractEntityPersister
Commit: 408e0ec436be785d085b2fc0eb61678efff8377e
https://github.com/hibernate/hibernate-orm/commit/408e0ec436be785d085b2fc...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
Log Message:
-----------
extract a method
Commit: c7bad70073af7319f24c2720b9f591536decd53e
https://github.com/hibernate/hibernate-orm/commit/c7bad70073af7319f24c272...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
Log Message:
-----------
fix exceptions for a certain kind of wrong join column mapping
Commit: 014847f41bd9eebc17dbcc05cf1993810162fd1b
https://github.com/hibernate/hibernate-orm/commit/014847f41bd9eebc17dbcc0...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/internal/InFlightMetadataCollectorImpl.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedJoinColumns.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/TableBinder.java
M hibernate-core/src/main/java/org/hibernate/mapping/Constraint.java
M hibernate-core/src/main/java/org/hibernate/mapping/ForeignKey.java
M hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/OneToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/PrimaryKey.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/mapping/ToOne.java
M hibernate-core/src/main/java/org/hibernate/mapping/UniqueKey.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CaseStatementDiscriminatorMappingImpl.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/DiscriminatorHelper.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/tool/schema/internal/StandardForeignKeyExporter.java
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/AlternativeToRepeatedTableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedTableTest.java
Log Message:
-----------
HHH-15932 allow @XxxxToOne associations to target a secondary table
Commit: 5f0b27fb6a75d2452a64a63815ab2b15139ce669
https://github.com/hibernate/hibernate-orm/commit/5f0b27fb6a75d2452a64a63...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
Log Message:
-----------
detect use of @DiscriminatorOptions(force=true) on JOINED with no @DiscriminatorColumn
Commit: 8162bd5152e403f5d2f4556f3769bdf02de60792
https://github.com/hibernate/hibernate-orm/commit/8162bd5152e403f5d2f4556...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/identity/Oracle12cIdentityColumnSupport.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/ToOneAttributeMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/JoinedSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/SingleTableEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/UnionSubclassEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityFetchJoinedImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultImpl.java
M hibernate-core/src/main/java/org/hibernate/sql/results/graph/entity/internal/EntityResultJoinedSubclassImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/boot/database/qualfiedTableNaming/DefaultCatalogAndSchemaTest.java
Log Message:
-----------
lots more cleanups to persisters
Commit: bedcc0386af0537f16440ccea5984661adb0cae3
https://github.com/hibernate/hibernate-orm/commit/bedcc0386af0537f16440cc...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedSubclassTableTest.java
Log Message:
-----------
add a second test for repeated table names in JOINED with discriminator inheritance
Commit: 1e57f8867420f7d0e148dc63469eaec586191fe4
https://github.com/hibernate/hibernate-orm/commit/1e57f8867420f7d0e148dc6...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/refcolnames/secondary/RefToSecondaryTableTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/refcolnames/secondary/Reference.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/refcolnames/secondary/Split.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/AlternativeToRepeatedTableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedTableTest.java
Log Message:
-----------
add failing test for @ManyToOne referencing secondary table
Commit: 9e9a363154bd68dc2ba5d78735184169c8d89dfe
https://github.com/hibernate/hibernate-orm/commit/9e9a363154bd68dc2ba5d78...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/ManyToOne.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/refcolnames/secondary/RefToSecondaryTableTest.java
Log Message:
-----------
HHH-15933 fix FK generated for ref to secondary table
Commit: 218ace291f8ee54cae561864f8e7cec3254928b3
https://github.com/hibernate/hibernate-orm/commit/218ace291f8ee54cae56186...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ListBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ToOneBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/hbm/ModelBinder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/NoCallbackExecutionContext.java
M hibernate-core/src/main/java/org/hibernate/mapping/Property.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/sql/ast/tree/select/SelectStatement.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/various/OneOneGeneratedValueTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/mapping/naturalid/nullable/B.java
Log Message:
-----------
HHH-15934 correctly handle @Basic(optional=false)
previously it had no effect
Commit: a8620b62bbf1d8d71798e557ce0ff73c5caac5dd
https://github.com/hibernate/hibernate-orm/commit/a8620b62bbf1d8d71798e55...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/resource/jdbc/internal/ResourceRegistryStandardImpl.java
Log Message:
-----------
squash a handled NPE and fix some warnings
Commit: a4191c9e111183d7165d98919659d93a842c6270
https://github.com/hibernate/hibernate-orm/commit/a4191c9e111183d7165d989...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/AbstractChild.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/ConcreteChild1.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/ConcreteChild2.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/Parent.java
A hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/TestDiscriminatedOneToMany.java
Log Message:
-----------
test for JPA-46 with a twist
I use a @DiscriminatorFormula and @Basic(optional=false) to do it in a nice way
Commit: 491b1bc06fcfb36dbe9aff3f68da0cfcbed817d1
https://github.com/hibernate/hibernate-orm/commit/491b1bc06fcfb36dbe9aff3...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/DiscriminatorFormula.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotatedDiscriminatorColumn.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/AbstractChild.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/ConcreteChild1.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/ConcreteChild2.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/Parent.java
Log Message:
-----------
HHH-15935 add discriminatorType to @DiscriminatorFormula
Commit: 169b9a849c025878fe28625088632e6d3c01b538
https://github.com/hibernate/hibernate-orm/commit/169b9a849c025878fe28625...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/source/internal/annotations/AnnotationMetadataSourceProcessorImpl.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/manytomany/GroupWithSet.java
Log Message:
-----------
drop arbitrary restrictions on what annotations can go where
also add an error for competing @FilterDefs
Commit: 0f29c1546128489a4c49df89e1e184e838f70b91
https://github.com/hibernate/hibernate-orm/commit/0f29c1546128489a4c49df8...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/orm/test/filter/subclass/joined2/Animal.java
A hibernate-core/src/test/java/org/hibernate/orm/test/filter/subclass/joined2/Dog.java
A hibernate-core/src/test/java/org/hibernate/orm/test/filter/subclass/joined2/JoinedInheritanceFilterTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/filter/subclass/joined2/Owner.java
Log Message:
-----------
HHH-9646 add a test showing the issue is resolved
Commit: 01d608ca849c48d488557a7887e2edef46420f2c
https://github.com/hibernate/hibernate-orm/commit/01d608ca849c48d488557a7...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/mapping/JoinedSubclass.java
M hibernate-core/src/main/java/org/hibernate/mapping/PersistentClass.java
M hibernate-core/src/main/java/org/hibernate/mapping/RootClass.java
M hibernate-core/src/main/java/org/hibernate/mapping/Subclass.java
M hibernate-core/src/main/java/org/hibernate/mapping/TableOwner.java
M hibernate-core/src/main/java/org/hibernate/mapping/UnionSubclass.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedSubclassTableTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/inheritance/repeatedtable/RepeatedTableTest.java
Log Message:
-----------
HHH-14526 validate table repetition in JOINED hierarchies
and automatically force the discriminator when necessary
Commit: ca4474159ef3d557753e9b547aaa9d2e0b5f191c
https://github.com/hibernate/hibernate-orm/commit/ca4474159ef3d557753e9b5...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/sharedfk/AbstractChild.java
Log Message:
-----------
fix test for case-sensitive databases
Commit: 110a1f6a565b9f06755c283baa7b294685d937fe
https://github.com/hibernate/hibernate-orm/commit/110a1f6a565b9f06755c283...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M documentation/src/test/java/org/hibernate/userguide/associations/any/PropertyRepository.java
M hibernate-core/src/main/java/org/hibernate/annotations/Any.java
M hibernate-core/src/main/java/org/hibernate/annotations/AnyDiscriminatorValue.java
M hibernate-core/src/main/java/org/hibernate/annotations/ManyToAny.java
Log Message:
-----------
examples in javadoc for @Any and @ManyToAny
Commit: d886c56228cbaeb7c16e51475de14b7c7fe20af1
https://github.com/hibernate/hibernate-orm/commit/d886c56228cbaeb7c16e514...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/Cache.java
M hibernate-core/src/main/java/org/hibernate/annotations/Cache.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
Log Message:
-----------
examples of @Cache and documentation around cache enablement
Commit: dda88668e84455f75307d3249870fea66225f40f
https://github.com/hibernate/hibernate-orm/commit/dda88668e84455f75307d32...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
M hibernate-core/src/main/java/org/hibernate/cfg/AvailableSettings.java
M hibernate-core/src/main/java/org/hibernate/mapping/RootClass.java
M hibernate-core/src/main/java/org/hibernate/mapping/SingleTableSubclass.java
Log Message:
-----------
improve some error reporting and add some code comments
Commit: c9cd12c625d23bf871c35dd439383944f64cb35a
https://github.com/hibernate/hibernate-orm/commit/c9cd12c625d23bf871c35dd...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AbstractPropertyHolder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnnotationBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/AnyBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BasicValueBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/BinderHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/EmbeddableBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/EntityBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/GeneratorBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdBagBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/IdGeneratorResolverSecondPass.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/InheritanceState.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/MapBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/PropertyBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/QueryBinder.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/TableBinder.java
A hibernate-core/src/main/java/org/hibernate/boot/model/internal/TimeZoneStorageHelper.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/ToOneBinder.java
M hibernate-core/src/main/java/org/hibernate/internal/CoreMessageLogger.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/formula/JoinFormulaManyToOneNotIgnoreLazyFetchingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/annotations/formula/JoinFormulaOneToOneNotIgnoreLazyFetchingTest.java
M hibernate-core/src/test/java/org/hibernate/orm/test/jpa/metadata/MetadataTest.java
Log Message:
-----------
big refactoring of Binders
Commit: 31ff2851c7ac234a43b4ceb647d64541e2bea1b7
https://github.com/hibernate/hibernate-orm/commit/31ff2851c7ac234a43b4ceb...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/annotations/Where.java
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/CollectionBinder.java
A hibernate-core/src/test/java/org/hibernate/orm/test/where/annotations/EagerToManyWhereUseClassWhereViaAnnotationTest.java
Log Message:
-----------
HHH-15936 add applyInToManyFetch member to @Where
Commit: 7f2e2c5d794c0cb0021302f5df21bc284dad4bdf
https://github.com/hibernate/hibernate-orm/commit/7f2e2c5d794c0cb0021302f...
Author: Gavin <gavin(a)hibernate.org>
Date: 2022-12-26 (Mon, 26 Dec 2022)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/boot/model/internal/InheritanceState.java
Log Message:
-----------
spaces to tabs
Compare: https://github.com/hibernate/hibernate-orm/compare/4946e8ca45ce...7f2e2c5...
2 years