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
protected final JpaRepositoryImplementation getTargetRepository(RepositoryInformation information) { JpaRepositoryImplementation repository = this.getTargetRepository(information, this.entityManager); repository.setRepositoryMethodMetadata(this.crudMethodMetadataPostProcessor.getCrudMethodMetadata()); return repository; }
protected JpaRepositoryImplementation<?, ?> getTargetRepository(RepositoryInformation information, EntityManager entityManager) { JpaEntityInformation<?, Serializable> entityInformation = this.getEntityInformation(information.getDomainType()); Object repository = this.getTargetRepositoryViaReflection(information, new Object[]{entityInformation, entityManager}); Assert.isInstanceOf(JpaRepositoryImplementation.class, repository); return (JpaRepositoryImplementation)repository; }
这个版本是final了 该如何处理
The text was updated successfully, but these errors were encountered:
使用这个方法来覆盖 @Override protected BaseRepositoryImpl getTargetRepository(RepositoryInformation information, EntityManager entityManager) { return new BaseRepositoryImpl<T, I>((Class<T>) information.getDomainType(), entityManager); }
@Override protected BaseRepositoryImpl getTargetRepository(RepositoryInformation information, EntityManager entityManager) { return new BaseRepositoryImpl<T, I>((Class<T>) information.getDomainType(), entityManager); }
Sorry, something went wrong.
No branches or pull requests
protected final JpaRepositoryImplementation getTargetRepository(RepositoryInformation information) {
JpaRepositoryImplementation repository = this.getTargetRepository(information, this.entityManager);
repository.setRepositoryMethodMetadata(this.crudMethodMetadataPostProcessor.getCrudMethodMetadata());
return repository;
}
这个版本是final了 该如何处理
The text was updated successfully, but these errors were encountered: