We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When compiling the latest version in Spring STS IDE, an error is shown in interface:
@Profile("spring-data-jpa") public interface SpringDataUserRepository extends UserRepository, Repository<User, Integer> {
}
User classe has a String as ID, but the interface is declared with Integer. Should it be String? As in:
@Profile("spring-data-jpa") public interface SpringDataUserRepository extends UserRepository, Repository<User, String> {
The text was updated successfully, but these errors were encountered:
You're right @julioapm Do you want to submit a Merge Request in order to fix this issue?
Sorry, something went wrong.
fix: resolve issue spring-petclinic#131 by fixing primary key type fo…
c1ac144
…r user entity
Merge pull request #133 from woody35545/bugfix/user-pk-type
0618de8
fix: resolve issue #131 by fixing primary key type for user entity
No branches or pull requests
When compiling the latest version in Spring STS IDE, an error is shown in interface:
@Profile("spring-data-jpa")
public interface SpringDataUserRepository extends UserRepository, Repository<User, Integer> {
}
User classe has a String as ID, but the interface is declared with Integer. Should it be String? As in:
@Profile("spring-data-jpa")
public interface SpringDataUserRepository extends UserRepository, Repository<User, String> {
}
The text was updated successfully, but these errors were encountered: