2008年8月20日

Connection pooling with MySQL Connector/J

摘要: In last month's article, "Does MySQL Connector/J Support Multithreaded Programming?"), I covered the problems with sharing a JDBC connection between multiple threads. Most of these problems can be ove... 阅读全文

posted @ 2008-08-20 20:56 cy163 阅读(2240) 评论(0) 推荐(0) 编辑

servlet 中 java 访问 Mysql 的代码示例

摘要: Connection conn = null; String url="",QueryStr=""; Statement stmt = null; ResultSet rs = null; String MySQL_IP = "192.180.15.1"; String MySQL_ID = "mht"; String MySQL_PW = "19951101"; try{ Class.forN... 阅读全文

posted @ 2008-08-20 11:41 cy163 阅读(630) 评论(0) 推荐(0) 编辑

导航