|
From: Patrick Y. <kc...@ce...> - 2003-11-08 02:30:09
|
> btw. Can somebody explain why there is a normal and a raw connection? A normal connection is pooled. A raw is not. For a pooled one, we have put effort to make sure it works. (In some cases, we find DB server cutting idle connections, so the idle pooled db connection object is not usable after a while). To check the validity of the pooled connection, we do a simple select on one of a table. But when Hermes starts up in the first time, it may create the tables. So before the tables are created, we cannot use the pooled connections (all pooled ones are "considered" as invalid as it cannot do the select on the table). In that case, we use raw connection. Hope it is clear. Regards, -Patrick |