Hey, 2010/12/23 yufeng <[email protected]>: > hi: > I try to use jwt for that java jdbc has SQL connection pool,now I > notice that wt:Dbo also has Wt::Dbo::SqlConnectionPool,but I do not > know How to use Wt::Dbo::SqlConnectionPool.I use OTL operate > postgresql ,I will change to use Wt::Dbo operate postgresql . I think > that wt is better than jwt totally.
To see an example of using Wt::Dbo::SqlConnectionPool see the DboTest::setup() in test/dbo. Instead of assigning a connection to a session, you assign it to a connection pool (which clones the connection as needed), and share the connection pool with multiple sessions. W.r.t. Wt versus JWt: that could be very true in your case but it depends on the project! Feature-wise, they are very comparable. Regards, koen ------------------------------------------------------------------------------ Learn how Oracle Real Application Clusters (RAC) One Node allows customers to consolidate database storage, standardize their database environment, and, should the need arise, upgrade to a full multi-node Oracle RAC database without downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl _______________________________________________ witty-interest mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/witty-interest
