Skip to content

Query validation significantly slows down application startup [DATAJPA-1370] #1690

Open
@spring-projects-issues

Description

@spring-projects-issues

Сергей Цыпанов opened DATAJPA-1370 and commented

Having dozens of interfaces extending JpaRepository and several hundreds of methods annotated with @Query it takes application significant type to start up.

I think there could be an option to disable validation e.g. for tests.

Also SimpleJpaQuery::validateQuery can be improved: e.g. we should compute error message only if necessary


2 votes, 4 watchers

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions