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

Expose LOG_QUERIES_SLOWER_THAN_MS for Hibernate #18634

Closed
piotr-szybicki opened this issue Jul 12, 2021 · 2 comments · Fixed by #19205
Closed

Expose LOG_QUERIES_SLOWER_THAN_MS for Hibernate #18634

piotr-szybicki opened this issue Jul 12, 2021 · 2 comments · Fixed by #19205
Labels
area/hibernate-orm Hibernate ORM kind/enhancement New feature or request
Milestone

Comments

@piotr-szybicki
Copy link

piotr-szybicki commented Jul 12, 2021

Description

Hibernate has this great option (https://vladmihalcea.com/hibernate-slow-query-log/) to set threshold above which the query us marked as slow and logged. I don't thing there is a way to set it under the current implementation in Quarkus.

Implementation ideas

No response

@piotr-szybicki piotr-szybicki added the kind/enhancement New feature or request label Jul 12, 2021
@geoand geoand added area/hibernate-orm Hibernate ORM and removed triage/needs-triage labels Jul 13, 2021
@quarkus-bot
Copy link

quarkus-bot bot commented Jul 13, 2021

/cc @Sanne, @gsmet, @yrodiere

@geoand geoand changed the title setting the LOG_QUERIES_SLOWER_THAN_MS for data soruce Expose LOG_QUERIES_SLOWER_THAN_MS for Hibernate Jul 13, 2021
@Sanne
Copy link
Member

Sanne commented Jul 13, 2021

Right we should expose this property.

@piotr-szybicki would you be interested in trying to create a pull request?

geoand added a commit to geoand/quarkus that referenced this issue Aug 3, 2021
@quarkus-bot quarkus-bot bot added this to the 2.2 - main milestone Aug 4, 2021
geoand added a commit that referenced this issue Aug 4, 2021
Add Configuration option to enable Hibernate's LOG_SLOW_QUERY feature
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/hibernate-orm Hibernate ORM kind/enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants