Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Various cleanups and minor fixes for the Hibernate ORM and Hibernate Search extensions #26838

Merged
merged 8 commits into from
Jul 20, 2022

Conversation

yrodiere
Copy link
Member

@yrodiere yrodiere commented Jul 20, 2022

Just a few problems I discovered while working on another PR.

Best reviewed commit by commit, due to one annoyingly large commit.

Creating as draft because this PR is based on #26815 , which should be merged first.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

@quarkus-bot

This comment has been minimized.

yrodiere added 7 commits July 20, 2022 16:36
1. Because that's not necessary: if the db-kind is set to H2 in the
   datasource, we'll use the H2 dialect automatically.
2. Because that's harmful: we don't want to use the "vanilla" H2
   dialect, but a custom, Quarkus-specific version.
   See QuarkusH2Dialect.
…nate-search-orm configuration properties

Similar to what we did recently with HibernateOrmProcessor.
…ugh @SearchExtension when there are no runtime configuration properties
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 20, 2022

Failing Jobs - Building 4b69107

Status Name Step Failures Logs Raw logs
Gradle Tests - JDK 11 Build Failures Logs Raw logs
✔️ Gradle Tests - JDK 11 Windows

Full information is available in the Build summary check run.

Failures

⚙️ Gradle Tests - JDK 11 #

- Failing: integration-tests/gradle 

📦 integration-tests/gradle

io.quarkus.gradle.devmode.MultiModuleNamedInjectionDevModeTest.main line 21 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.test.devmode.util.DevModeTestUtils that uses java.util.function.Supplier, java.util.function.Supplierjava.util.concurrent.atomic.AtomicReference, java.util.concurrent.atomic.AtomicReferencejava.lang.String, java.lang.Stringboolean was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

io.quarkus.gradle.devmode.MultiSourceProjectDevModeTest.main line 22 - More details - Source on GitHub

org.awaitility.core.ConditionTimeoutException: Condition with lambda expression in io.quarkus.test.devmode.util.DevModeTestUtils that uses java.util.function.Supplier, java.util.function.Supplierjava.util.concurrent.atomic.AtomicReference, java.util.concurrent.atomic.AtomicReferencejava.lang.String, java.lang.Stringboolean was not fulfilled within 1 minutes.
	at org.awaitility.core.ConditionAwaiter.await(ConditionAwaiter.java:167)
	at org.awaitility.core.CallableCondition.await(CallableCondition.java:78)

Copy link
Member

@Sanne Sanne left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, I was actually needing this very same change in my WIP branches.

[edit: I was referring to commit 5f41ece - seems github UI changed how one can comment on a single comment and confused me, sorry ]

@Sanne Sanne merged commit dee4549 into quarkusio:main Jul 20, 2022
@quarkus-bot quarkus-bot bot added this to the 2.12 - main milestone Jul 20, 2022
@yrodiere yrodiere deleted the hsearch-cleanups branch August 2, 2022 08:33
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants