That page is where I came from, but the examples use typed Dao's rather than
the Generic Dao.  I got the Mgr Test working using a FooDao &
FooDaoHibernate but could never get the setUp() method to work with the
Generic Dao which I very much wanted to use.  It's just these two lines here
but as I really need to look at the XFire stuff, I didn't want to linger
here and just wrote a quick FooDao and impl.  These are the two lines in the
manager test giving me fits, everything I've tried when using the Generic
Dao has had compile or run time errors (but it works now with the typed
FooDao as seen here).  How do I make this work with the Generic Dao?

  protected void setUp() throws Exception {
    dao = new Mock(FooDao.class);
    manager = new GenericManagerImpl((FooDao) dao.proxy());
  }


Are there docs on the generic dao & mgr code anywhere?  I've looked but
haven't found anything if it's out there.

--j


-- 
View this message in context: 
http://www.nabble.com/using-Generic-Daos-in-Mocks-in-manager-tests-tf4694259s2369.html#a13613948
Sent from the AppFuse - User mailing list archive at Nabble.com.

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

Reply via email to