@Repository("groupDao") @Transactional(readOnly=true)
public class GroupDao extends HibernateDaoSupport implements Dao<Group> { @Autowired public GroupDao(SessionFactory sessionFactory) { setSessionFactory(sessionFactory); } .. .. } itu koding saya buat 4 bulanan yg lalu. pake spring 2.5 bisa jalan tuh. constructor injection. coba refer ke ebook Spring Recipes 2008 pirated edition, mungkin ada (blom baca jg) 2008/8/20 Ifnu bima <[EMAIL PROTECTED]>: > 2008/8/20 Ifnu bima <[EMAIL PROTECTED]>: >>> spring 2.5 udah bisa >>> >>> baca doc nya aja > > http://springframework.cvs.sourceforge.net/springframework/spring/src/org/springframework/orm/ibatis/support/SqlMapClientDaoSupport.java?revision=1.11&view=markup&pathrev=release-2-5-5 > > sepertinya belom ada @Autowired untuk method > setSqlMapClient(SqlMapClient client) > > dan di HiberanteDaoSupport juga ga ada : > > http://springframework.cvs.sourceforge.net/springframework/spring/src/org/springframework/orm/hibernate3/support/HibernateDaoSupport.java?revision=1.10&view=markup > > sepertinya semua dao support blom diupdate untuk menggunakan > annotation, jadi ya harus dicari workaroundnya > > -- > Senior Engineer @ ArtiVisi Intermedia > Java Training Center > See our course @ artivisi.com > > http://ifnu.artivisi.com > +62 856 9211 8687 > regards > -- irfani http://irfani.web.id Y! irfani_s