[hibernate/hibernate-orm] 36ebf7: HHH-14225 CVE-2020-25638 Potential for SQL injecti...
by Andrea Boriero
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 36ebf7d3836e83e99f2a91777b5389e1daf1f2b7
https://github.com/hibernate/hibernate-orm/commit/36ebf7d3836e83e99f2a917...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-11-13 (Fri, 13 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/dialect/Dialect.java
M hibernate-core/src/main/java/org/hibernate/loader/plan/exec/query/internal/SelectStatementBuilder.java
M hibernate-core/src/main/java/org/hibernate/sql/Delete.java
M hibernate-core/src/main/java/org/hibernate/sql/Insert.java
M hibernate-core/src/main/java/org/hibernate/sql/InsertSelect.java
M hibernate-core/src/main/java/org/hibernate/sql/QuerySelect.java
M hibernate-core/src/main/java/org/hibernate/sql/Select.java
M hibernate-core/src/main/java/org/hibernate/sql/SimpleSelect.java
M hibernate-core/src/main/java/org/hibernate/sql/Update.java
A hibernate-core/src/test/java/org/hibernate/test/comments/TestEntity.java
A hibernate-core/src/test/java/org/hibernate/test/comments/TestEntity2.java
A hibernate-core/src/test/java/org/hibernate/test/comments/UseSqlCommentTest.java
Log Message:
-----------
HHH-14225 CVE-2020-25638 Potential for SQL injection on use_sql_comments logging enabled
4 years, 1 month
[hibernate/hibernate-orm] 61dcb7: HHH-14312 - entity graph is ignored for 'padded' a...
by Steve Ebersole
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: 61dcb7dcd43dc1d2326911bdb11a52c54c6452b8
https://github.com/hibernate/hibernate-orm/commit/61dcb7dcd43dc1d2326911b...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/entity/AbstractEntityLoader.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/BatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/AbstractLoadPlanBasedEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/EntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/MultiEntityLoadingSupport.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/test/java/org/hibernate/test/ops/multiLoad/MultiLoadTest.java
Log Message:
-----------
HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
- Adjusted multi-loading to use LoadPlans (and apply entity-graphs) as well.
- All of the loaders/builder in `org.hibernate.loader.entity` are now no longer used, superseded by `org.hibernate.loader.entity.plan`. Removed no longer needed code.
- Adjusted multi-load tests that relied on the actual generated SQL *String* - they now explicitly count the number of parameters and use that for assertions
4 years, 1 month
[hibernate/hibernate-orm] b29645: HHH-14312 - entity graph is ignored for 'padded' a...
by Steve Ebersole
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: b296459851789fa233a181777dafa0cf0134b4ff
https://github.com/hibernate/hibernate-orm/commit/b296459851789fa233a1817...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/entity/AbstractEntityLoader.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/BatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/DynamicBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/AbstractLoadPlanBasedEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/EntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/MultiEntityLoadingSupport.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoaderBuilder.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/test/java/org/hibernate/test/ops/multiLoad/MultiLoadTest.java
Log Message:
-----------
HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
- Adjusted multi-loading to use LoadPlans (and apply entity-graphs) as well.
- All of the loaders/builder in `org.hibernate.loader.entity` are now no longer used, superseded by `org.hibernate.loader.entity.plan`. Removed no longer needed code.
- Adjusted multi-load tests that relied on the actual generated SQL *String* - they now explicitly count the number of parameters and use that for assertions
4 years, 1 month
[hibernate/hibernate-orm] fc04e0: HHH-14312 fix issue entity graph is ignored for 'p...
by Steve Ebersole
Branch: refs/heads/5.4
Home: https://github.com/hibernate/hibernate-orm
Commit: fc04e0a3201c8ec18ff06a08ad06b3e889dec424
https://github.com/hibernate/hibernate-orm/commit/fc04e0a3201c8ec18ff06a0...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/graph/EntityGraphPaddedBatchStyleTest.java
Log Message:
-----------
HHH-14312 fix issue entity graph is ignored for 'padded' batch style entity loader
Commit: 603a393b4e6daeb235d78651718acc85307dc846
https://github.com/hibernate/hibernate-orm/commit/603a393b4e6daeb235d7865...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/BatchingEntityLoaderBuilder.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/LegacyBatchingEntityLoaderBuilder.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/PaddedBatchingEntityLoaderBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoaderBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoaderBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/package-info.java
A hibernate-core/src/test/java/org/hibernate/graph/EntityGraphDynamicBatchStyleTest.java
M hibernate-core/src/test/java/org/hibernate/graph/EntityGraphPaddedBatchStyleTest.java
Log Message:
-----------
HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
Commit: 48527437efb32d92eebae1aa3091f57ccd130ac2
https://github.com/hibernate/hibernate-orm/commit/48527437efb32d92eebae1a...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoader.java
M hibernate-core/src/test/java/org/hibernate/test/batchfetch/BatchFetchNotFoundIgnoreDefaultStyleTest.java
Log Message:
-----------
HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
- completed fix for HHH-11970
Compare: https://github.com/hibernate/hibernate-orm/compare/324c27fbb210...4852743...
4 years, 1 month
[hibernate/hibernate-orm] d4233c: fixed issue with project-template module wrt version
by Steve Ebersole
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: d4233ce6a849c8ae6a9ff6b680d8aaff56a9941b
https://github.com/hibernate/hibernate-orm/commit/d4233ce6a849c8ae6a9ff6b...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M tooling/project-template/project-template.gradle
Log Message:
-----------
fixed issue with project-template module wrt version
Commit: be654c37b52a98afbea86204057184124877cd1a
https://github.com/hibernate/hibernate-orm/commit/be654c37b52a98afbea8620...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-11 (Wed, 11 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/NaturalIdLoadAccess.java
A hibernate-core/src/main/java/org/hibernate/NaturalIdMultiLoadAccess.java
M hibernate-core/src/main/java/org/hibernate/Session.java
M hibernate-core/src/main/java/org/hibernate/engine/spi/SessionDelegatorBaseImpl.java
M hibernate-core/src/main/java/org/hibernate/event/internal/AbstractLockUpgradeEventListener.java
A hibernate-core/src/main/java/org/hibernate/internal/MultiIdentifierLoadAccessImpl.java
A hibernate-core/src/main/java/org/hibernate/internal/NaturalIdMultiLoadAccessStandard.java
M hibernate-core/src/main/java/org/hibernate/internal/SessionImpl.java
M hibernate-core/src/main/java/org/hibernate/internal/util/MutableInteger.java
M hibernate-core/src/main/java/org/hibernate/internal/util/collections/CollectionHelper.java
A hibernate-core/src/main/java/org/hibernate/loader/NaturalIdPostLoadListener.java
A hibernate-core/src/main/java/org/hibernate/loader/NaturalIdPreLoadListener.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/LoaderLogging.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/AbstractNaturalIdLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/CompoundNaturalIdLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderHelper.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoaderSelectBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/LoadingEntityCollector.java
R hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiIdEntityLoaderStandardImpl.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiIdLoaderStandard.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiNaturalIdLoaderStandard.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/MultiNaturalIdLoadingBatcher.java
R hibernate-core/src/main/java/org/hibernate/loader/ast/internal/NaturalIdLoaderStandardImpl.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/internal/SimpleNaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/MultiIdEntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/spi/MultiIdLoadOptions.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/spi/MultiLoadOptions.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/spi/MultiNaturalIdLoadOptions.java
A hibernate-core/src/main/java/org/hibernate/loader/ast/spi/MultiNaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/ast/spi/NaturalIdLoader.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/CacheEntityLoaderHelper.java
M hibernate-core/src/main/java/org/hibernate/metamodel/mapping/NaturalIdMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/AbstractNaturalIdMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/CompoundNaturalIdMapping.java
A hibernate-core/src/main/java/org/hibernate/metamodel/mapping/internal/SimpleNaturalIdMapping.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/AbstractEntityPersister.java
M hibernate-core/src/main/java/org/hibernate/persister/entity/EntityPersister.java
R hibernate-core/src/main/java/org/hibernate/persister/entity/MultiLoadOptions.java
M hibernate-core/src/test/java/org/hibernate/jpa/test/ejb3configuration/PersisterClassProviderTest.java
A hibernate-core/src/test/java/org/hibernate/orm/test/metamodel/mapping/naturalid/CompoundNaturalIdTests.java
A hibernate-core/src/test/java/org/hibernate/orm/test/metamodel/mapping/naturalid/SimpleNaturalIdTests.java
M hibernate-core/src/test/java/org/hibernate/test/cfg/persister/GoofyPersisterClassProvider.java
M hibernate-core/src/test/java/org/hibernate/test/legacy/CustomPersister.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/MonetaryAmountConverter.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/retail/Product.java
M hibernate-testing/src/main/java/org/hibernate/testing/orm/domain/retail/Vendor.java
Log Message:
-----------
HHH-14313 - NaturalId support
Compare: https://github.com/hibernate/hibernate-orm/compare/bbeb7ecff171...be654c3...
4 years, 1 month
[hibernate/hibernate-orm] c87461: HHH-14312 fix issue entity graph is ignored for 'p...
by Steve Ebersole
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-orm
Commit: c874618d303a32dc3417ea523ba429375bb4c1fc
https://github.com/hibernate/hibernate-orm/commit/c874618d303a32dc3417ea5...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-11-10 (Tue, 10 Nov 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/graph/EntityGraphPaddedBatchStyleTest.java
Log Message:
-----------
HHH-14312 fix issue entity graph is ignored for 'padded' batch style entity loader
Commit: 13fb23d44e02e8b9251e608392a97aa961f6a2f3
https://github.com/hibernate/hibernate-orm/commit/13fb23d44e02e8b9251e608...
Author: Steve Ebersole <steve(a)hibernate.org>
Date: 2020-11-10 (Tue, 10 Nov 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/LockOptions.java
M hibernate-core/src/main/java/org/hibernate/loader/entity/BatchingEntityLoaderBuilder.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/LegacyBatchingEntityLoaderBuilder.java
R hibernate-core/src/main/java/org/hibernate/loader/entity/PaddedBatchingEntityLoaderBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/DynamicBatchingEntityLoaderBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoader.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/PaddedBatchingEntityLoaderBuilder.java
A hibernate-core/src/main/java/org/hibernate/loader/entity/plan/package-info.java
A hibernate-core/src/test/java/org/hibernate/graph/EntityGraphDynamicBatchStyleTest.java
M hibernate-core/src/test/java/org/hibernate/graph/EntityGraphPaddedBatchStyleTest.java
Log Message:
-----------
HHH-14312 - entity graph is ignored for 'padded' and 'dynamic' batch style entity loader
Compare: https://github.com/hibernate/hibernate-orm/compare/d6564cb0b536...13fb23d...
4 years, 1 month