There is something strange the property DaoSessionHandler is null but the variable _daoSessionHandler is set !
On Wed, 26 Jan 2005 17:19:07 +0100, Jean Guillaume LALANNE <[EMAIL PROTECTED]> wrote: > I have debugged my application and it seems that the daoManager has lost > some information because of the asynchronous call: > > Look at this picture: > http://jeanguitou.jexiste.fr/tests/daomanager_problem.bmp > > It seems there is a problem with the session handler object. > > Regards > > Jean-Guillaume > > -----Message d'origine----- > De : [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] > Envoyé : mercredi 26 janvier 2005 16:38 > À : ibatis-user-cs@incubator.apache.org > Objet : Problem of connection in the case of asynchronous call > > Hi all, > > I have a class that I access either synchronously either asynchronously by > using a delegate. > In this class, there is a method that is using ibatis to store information > in a database. > When this method is accessed synchronously, everything is fined. > But when I try asynchronously, I cannot open the connection: > > ((new ServiceConfig()).GetInstance("statisticsSqlMapDao")).openConnection() > > throws an exception : > > "the object reference is not defined as an object instance" > > What do I miss ? > > Thanks in advance for your help > > Regards > > Jean-Guillaume > >