Now to define a new Repository it is not needed to edit the spring xml file: simply create the java class and annotate it with @Repository annotation. Then add a field for SessionFactory and annotate it with @Autowired annotation
Now to define a new Repository it is not needed to edit the spring xml file: simply create the java class and annotate it with @Repository annotation. Then add a field for SessionFactory and annotate it with @Autowired annotation