0
春季建設項目時和@Repository接口分別延伸出的其它接口JpaRepository其更多功能,以子接口,我下面的教程:JpaRepository接口實現,我想了解它的方法在哪裏實現?
@Repository("myRepository")
public interface myRepository extends JpaRepository<Name, Long> {
}
在@服務類
@Autowired
private MyRepository myrepo;
@Transactional
public Stuff save(Stuff stuff) {
return myrepo.save(stuff);
}
我想找到'SAVE'方法的實際代碼。 已經下載了spring-data-commons-core-1.2.1.RELEASE.jar
並進行了反編譯,但是在那裏找不到實現。