[Classifier4j-devel] Problem Solved
Status: Beta
Brought to you by:
nicklothian
From: Matt C. <MCo...@my...> - 2003-11-12 21:31:01
|
By implementing the connection pooling code provided on the following site: http://developer.java.sun.com/developer/onlineTraining/Programming/JDCBook/conp ool.html#example I was able to elimate the updateWordProbability issue I was having, which was actually a JDBC issue. At any rate, it involved making only a minor change to DriverManagerJDBCConnectionManager.java. With this pooling implementation you only need to pass a driver name to getConnection so I altered Public Connection getConnection() to accept a single string (dbDriver). I don't know if this was the best way to handle this, but it's working! Matt Collier RemoteIT mco...@my... 877-4-NEW-LAN |