I was following a tutorial when building a project in Spring and the @Repository interfaces were extending an other interface JpaRepository which added functionalities to the sub interface:
@Repository("myRepository")
public interface myRepository extends JpaRepository<Name, Long> {
}
In @Service class
@Autowired
private MyRepository myrepo;
@Transactional
public Stuff save(Stuff stuff) {
return myrepo.save(stuff);
}
I want to find the actual code for the 'SAVE' method.
Have downloaded spring-data-commons-core-1.2.1.RELEASE.jar
and decompiled but could not find the implementation there.