More info - I'm using appfuse 1.9.4 and used appgen to generate the
classes.  

 

________________________________

From: Clark D. Liu [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, February 21, 2007 3:59 AM
To: users@appfuse.dev.java.net
Subject: [appfuse-user] Did I miss a Spring Config??

 

I added a new method to my DAO that uses a where clause as follows...

public List getUploadedDatasByRegion(String region) {

            return getHibernateTemplate().find("from UploadedData where
region=?",region);

 

Hibernate returns two rows but the action shows null...

UploadedDataManager mgr =
(UploadedDataManager)getBean("uploadedDataManager");

List datas = mgr.getUploadedDatas(uploadedData);

 

... so I am guessing I don't have Spring setup correctly? All other CRUD
operation work though! Any help would be greatly appreciated!!

 

Clark

 

Reply via email to