spring-projects / spring-projects/spring-data-jpa
Query validation significantly slows down application startup [DATAJPA-1370]
Open
Nobody has claimed this yet.
in: core
type: enhancement
- Dominant language
- Java
- Stars
- 3.3k
- Forks
- 1.6k
- PR merge metrics
- No merged PRs in 30d
Description
Сергей Цыпанов 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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Assessment
This issue has not been assessed yet.