-
Notifications
You must be signed in to change notification settings - Fork 59
Open
Description
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了 该如何处理
Metadata
Metadata
Assignees
Labels
No labels