I was using a database pool provided by SOCI (very nice library) and then accessing a singleton instance of it in a derived class, DbApplication : public WtApplication. This was working very well. Check the archives in the last month or so and you'll see a bit of discussion about this exact subject.
Be sure to check in your database connections back to the SOCI connection pool, however, since the SOCI pool isn't dynamic and is determined at run time when the pool is created. -sc On Jul 27, 2009, at 4:33 AM, Jakob Eriksson wrote: > On Mon, Jul 27, 2009 at 04:47:32PM +1100, Орлов Олег wrote: >> Hi , >> >> I develop application >> communicating with db (Oracle) >> >> Can anybody explain which part ot Witty application is resident, >> (which live cycle covers all send/receive operations) >> of course if it exists ? >> >> It is ideally to show short example >> how to construct nice object oriented application has connection >> pool >> part and dialog (send/receive) part > > I guess I want to know the same thing, but I plan to use Zero ICE. > Initially I wanted to use WTRuby, but it can not handle threads and > so seems to be lacking support for some of the WT Widgets. > > > > > -- > regards, > Jakob > > > It's is not, it isn't ain't, and it's it's, not its, if you mean it > is. If you don't, it's its. Then too, it's hers. It isn't her's. > It > isn't our's either. It's ours, and likewise yours and theirs. > -- Oxford University Press, Edpress News > > > ------------------------------------------------------------------------------ > _______________________________________________ > witty-interest mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/witty-interest -- Sean Chittenden [email protected] ------------------------------------------------------------------------------ _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
