-
Notifications
You must be signed in to change notification settings - Fork 682
Improve error messages if a repository cannot be created #2341
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
Comments
Moving to Spring Data JDBC |
Spring Data JDBC currently doesn't have Querydsl support. I'll consider this a feature request to add Querydsl support. |
This ticket duplicates somewhat spring-projects/spring-data-relational#278. What we would like to do is to repurpose this ticket into providing a better error message if a Spring Data module doesn't support Querydsl (or Query by Example). |
Moving to Spring Data Commons. |
An error message would look like:
|
…agment interface. We now throw a RepositoryCreationException (or subclass) when a repository cannot be created due to a missing fragment, a fragment without implementation or if a well-known fragment is not supported by the repository factory. Closes #2341
…agment interface. We now throw a RepositoryCreationException (or subclass) when a repository cannot be created due to a missing fragment, a fragment without implementation or if a well-known fragment is not supported by the repository factory. Throw QueryCreationException if QueryExecutorMethodInterceptor cannot resolve a RepositoryQuery. Closes #2341
…agment interface. We now throw a RepositoryCreationException (or subclass) when a repository cannot be created due to a missing fragment, a fragment without implementation or if a well-known fragment is not supported by the repository factory. Throw QueryCreationException if QueryExecutorMethodInterceptor cannot resolve a RepositoryQuery. Closes #2341 Original pull request: #2342.
Tera opened DATACMNS-1812 and commented
I'm trying to use Spring data JDBC with Query DSL in Kotlin. This is my repository
I've integrated these dependencies in my Gradle build:
As soon as I try to start my application I get this error:
I can't understand what I'm doing wrong and if there is an incompatibility between Spring Data JDBC and QueryDSL
The same issue happens if I try to change from PagingAndSortingRepository to simple CrudRepository
Affects: 2.3.4 (Neumann SR4)
The text was updated successfully, but these errors were encountered: