Hi,

I'm using Source Revision 179390 <http://prdownloads.sourceforge.net/ibatisnet/iBATIS-src-SVN-179390.zip?download> from http://ibatis.apache.org/downloads.html.

So the id is not just an attribute to identify the daoSessionHandler, it actually controls the type of daoSession that you get. If I can't set the id to anything but but the choices you outlined below, and the id attributes of the daoSessionHandler in seperate context sections can't be the same, how can I write my dao.config to access to databases?

Thanks,
Brian


Gilles Bayon wrote:


Attribute id of daoSessionHandler can only take value
- SqlMap to use iBATIS.DataMapper, you will get an SqlMapDaoSession
- ADONET to use ADO.Net hand code, you will get an SimpleDaoSession
( - NHibernate )
- or your own session handler
so it's normal if you get an DaoSession of type SimpleDaoSession for your 2nd DaoManager. Which version do you used ?




Reply via email to