Skip to content

Hibernate Validator is enabled by default when not used #45677

@mabartos

Description

@mabartos

Before reporting an issue

  • I have read and understood the above terms for submitting issues, and I understand that my issue may be closed without action if I do not follow them.

Area

dist/quarkus

Describe the bug

The Hibernate Validator is enabled by default, even when it's not used currently. The Hibernate Validator is only used for the new Client API v2 right now. Enabling Hibernate Validator is quite resource-consuming for startup due to expensive initialization. That's also a difference between 26.4.x and 26.5.x, so it's considered as regression.

Startup time:

Image

Startup memory allocations (against 26.4.x) (~10MB with other related procedures):

Image

Version

26.5.1

Regression

  • The issue is a regression

Expected behavior

Hibernate Validator is not enabled when not needed

Actual behavior

Hibernate Validator is always enabled

How to Reproduce?

Start the server and see enabled Quarkus extensions

Anything else?

Might contribute to:

Metadata

Metadata

Assignees

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions