我正在将一个工作项目从Spring2+Hibernate3升级到Spring3+Hibernate4。自从HibernateTemplate和HibernateDAOSupport退休后,我做了以下工作public List<Object> loadTable(final Class<?> cls) Session s = getSession(); // was calling the old Spring getSession List<Obje
nested exception is org.springframework.orm.jpa.JpaSystemException: A collection with cascade="all-delete-orphanhaughton.daniel.ShoutLoud.model.schedule.Schedule.dateActiveScheduleItems; nested exception is org.hibernate.HibernateException: A collection with cascade="all-delet