Changes between Version 2 and Version 3 of Spring
- Timestamp:
- Nov 11, 2008, 7:33:19 AM (16 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Spring
v2 v3 4 4 @Repository 5 5 @Transactional 6 public class HibernateClinic implements Clinic { 6 public class ErikExampleDao { 7 7 8 @Autowired 8 9 private SessionFactory sessionFactory; 10 11 void saveErikExampleDomainClass(ErikExampleDomain erikExampleDomain){ 12 sessionFactory.getCurrentSession().save(erikExampleDomain) 13 14 9 15 }}} 10 16 This configuaration needed: