ibatis-user-cs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jean-Guillaume LALANNE" <jeanguillaume.lala...@capgemini.com>
Subject LocalDaoSession lost when a daoManager is used in a callback method...
Date Tue, 15 Feb 2005 16:54:53 GMT

Hi all,

I have got today a strange error in my code. I am using asynchronous call
with callback function. In this function, I'd like to store some information
in my database via IBATIS. All my DaoManager configuration is loaded in the
main code and it works fine, but when I want to use it in the callback
function, it seems that the LocalDaoSession is lost on the daoManager...
Maybe because the asynchronous call (with delegate) is using a kind of
serialization (I am not a .NET specialist, much more a newbie, so I am maybe
wrong!) and the LocalDaoSession is not serializable or something like
How can I set again the LocalDaoSession without reloading the all
configuration ?
At this url : http://jeanguitou.jexiste.fr/tests/_statDaoManager.bmp , a
picture of my daoManager in the VS.NET debbuger.


Jean-Guillaume LALANNE

This message contains information that may be privileged or confidential and is the property
of the Capgemini Group. It is intended only for the person to whom it is addressed. If you
are not the intended recipient,  you are not authorized to read, print, retain, copy, disseminate,
 distribute, or use this message or any part thereof. If you receive this  message in error,
please notify the sender immediately and delete all  copies of this message.

View raw message