[hibernate/hibernate-orm] 425ee2: HHH-14249 Add test for issue
by Andrea Boriero
Branch: refs/heads/wip/6.0
Home: https://github.com/hibernate/hibernate-orm
Commit: 425ee2d3d5e599d3e3b50aca79e3b05cbc4078ad
https://github.com/hibernate/hibernate-orm/commit/425ee2d3d5e599d3e3b50ac...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
A hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportWithSpacesAfterTheLastStatementTest.java
A hibernate-core/src/test/java/org/hibernate/test/fileimport/MultiLineImportWithTabsAndSpacesTest.java
A hibernate-core/src/test/resources/org/hibernate/test/fileimport/mulit-line-statements-with-spaces-after-last-delimiter.sql
A hibernate-core/src/test/resources/org/hibernate/test/fileimport/multi-line-statements-starting-with-tabs-and-spaces.sql
Log Message:
-----------
HHH-14249 Add test for issue
Commit: 112d2153713f78472f9354cb2e3fe4c89b9171bc
https://github.com/hibernate/hibernate-orm/commit/112d2153713f78472f9354c...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M hibernate-core/src/main/antlr/sql-script.g
R hibernate-core/src/test/resources/org/hibernate/test/fileimport/mulit-line-statements-with-spaces-after-last-delimiter.sql
A hibernate-core/src/test/resources/org/hibernate/test/fileimport/multi-line-statements-with-spaces-after-last-delimiter.sql
Log Message:
-----------
HHH-14249 MultiLineImport fails when script contains blank spaces or tabs at the end of the last sql statement
Commit: c3e43ecd117dc9ec5471201c8c79bcfed3ca026a
https://github.com/hibernate/hibernate-orm/commit/c3e43ecd117dc9ec5471201...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-08 (Thu, 08 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
Log Message:
-----------
HHH-14248 Refactor latestBatches from InsertActionSorter's field to temporary variable in its sort method
Commit: 3a88b1c6b2d2ede977643de4b4841152a09b6e41
https://github.com/hibernate/hibernate-orm/commit/3a88b1c6b2d2ede977643de...
Author: Nathan Xu <nathan.qingyang.xu(a)gmail.com>
Date: 2020-10-08 (Thu, 08 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
Log Message:
-----------
HHH-14248 Other minor improvements to ActionQueue
Commit: b89658628e337d6d14660548f3fdd32b54265f75
https://github.com/hibernate/hibernate-orm/commit/b89658628e337d6d1466054...
Author: Andrea Boriero <andrea(a)hibernate.org>
Date: 2020-10-08 (Thu, 08 Oct 2020)
Changed paths:
M hibernate-core/src/main/java/org/hibernate/engine/spi/ActionQueue.java
A hibernate-core/src/test/java/org/hibernate/test/tool/schema/scripts/MultiLineImportWithSpacesAfterTheLastStatementTest.java
A hibernate-core/src/test/java/org/hibernate/test/tool/schema/scripts/MultiLineImportWithTabsAndSpacesTest.java
A hibernate-core/src/test/resources/org/hibernate/orm/test/tool/schema/scripts/multi-line-statements-starting-with-tabs-and-spaces.sql
A hibernate-core/src/test/resources/org/hibernate/orm/test/tool/schema/scripts/multi-line-statements-with-spaces-after-last-delimiter.sql
Log Message:
-----------
Merge remote-tracking branch 'upstream/master' into wip/6.0
Compare: https://github.com/hibernate/hibernate-orm/compare/93cd8aaf4ea5...b896586...
4 years, 2 months
[hibernate/hibernate-search] c1366d: HSEARCH-4034 Remove unused constant in DatabaseMul...
by Yoann Rodière
Branch: refs/heads/master
Home: https://github.com/hibernate/hibernate-search
Commit: c1366da35b7c623951e1e25dd2f6b8104ccfba3f
https://github.com/hibernate/hibernate-search/commit/c1366da35b7c623951e1...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/batchindexing/DatabaseMultitenancyTest.java
Log Message:
-----------
HSEARCH-4034 Remove unused constant in DatabaseMultitenancyTest
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 5fa34482e928109c7c916e80bc2473ec534f843b
https://github.com/hibernate/hibernate-search/commit/5fa34482e928109c7c91...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelper.java
Log Message:
-----------
HSEARCH-4034 Simplify how OrmSetupHelper enables multitenancy in tests
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 7474534b12c54a9d02da00f230d2e9f6c6348620
https://github.com/hibernate/hibernate-search/commit/7474534b12c54a9d02da...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
A util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/H2LazyMultiTenantConnectionProvider.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelper.java
Log Message:
-----------
HSEARCH-4034 Use a lazy, stoppable connection provider to implement database multitenancy for tests
1. This allows us to implement connection provider closing more safely.
2. More importantly, this will allow us in the next commit to make
checks before we try to initialize the delegate connection providers
(which can fail if not using H2).
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 3cddc7b50a35307648a0780bedb5851081169377
https://github.com/hibernate/hibernate-search/commit/3cddc7b50a35307648a0...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelper.java
Log Message:
-----------
HSEARCH-4034 Disable tests relying on multi-tenancy when not using H2
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: 7cb5be0aadf864ff9e7faa5eaa53a9bf74d90bd7
https://github.com/hibernate/hibernate-search/commit/7cb5be0aadf864ff9e7f...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/OrmSetupHelper.java
M util/internal/integrationtest/mapper/orm/src/main/java/org/hibernate/search/util/impl/integrationtest/mapper/orm/multitenancy/impl/MultitenancyTestHelper.java
Log Message:
-----------
HSEARCH-4034 Encapsulate MultitenancyTestHelper more tightly
It doesn't make sense to expose the instance anymore, now that we're
using ORM features (stoppable service) to close the connection
providers.
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Commit: b4efc89e9f21fb33d1323850d3730ef82738167c
https://github.com/hibernate/hibernate-search/commit/b4efc89e9f21fb33d132...
Author: Yoann Rodière <yoann(a)hibernate.org>
Date: 2020-10-07 (Wed, 07 Oct 2020)
Changed paths:
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/DefaultTestResourceManager.java
M integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/testsupport/V5MigrationHelperOrmSetupHelper.java
R integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/util/DdlTransactionIsolatorTestingImpl.java
R integrationtest/v5migrationhelper/orm/src/test/java/org/hibernate/search/test/util/MultitenancyTestHelper.java
Log Message:
-----------
HSEARCH-4034 Remove duplicate implementation of MultitenancyTestHelper
Signed-off-by: Yoann Rodière <yoann(a)hibernate.org>
Compare: https://github.com/hibernate/hibernate-search/compare/893fe8587fb1...b4ef...
4 years, 2 months