Do you have a DAO test that proves things aren't working as expected?

Matt

On 2/21/07, sionsmith <[EMAIL PROTECTED]> wrote:

can you post your config mate?

Clark D. Liu wrote:
>
> 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
>
>
>
>
>

--
View this message in context: 
http://www.nabble.com/Did-I-miss-a-Spring-Config---tf3265741s2369.html#a9083057
Sent from the AppFuse - User mailing list archive at Nabble.com.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]




--
http://raibledesigns.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to