org.gjt.mm.mysql.Driver是第三方的,口碑很好,开放源码。
解决方案 »
- Hibernate级联高手帮帮忙啊,感激不尽!
- 注册页面和登录页面之间的信息输入和读取
- 帮忙看看 ,解决即给分 下拉菜单的问题!
- 怎么用JSP得到一张图片的宽度和高度
- 求助 急啊 。。。。。。。。怎么实现在题库中抽题目 jsp+sal2000
- 为什么在命令行输入appletviwer无效????????
- tomcat启动的时候实例化自己写的对象,然后多个web应用都可以访问?
- jsp+mysql 如何发布到网上
- 帮忙看看jsp获取表单时间输入到oracle的语句
- 望指教tomcat 如何配置datasource???
- 高手请进,servlet 和flash的连接问题,急!!多谢!!!!快快快!!!
- 谁会此问题?小弟跪求拜为师!
我常用的是com.mysql.jdbc.Driver这个驱动
/*
Copyright (C) 2002 MySQL AB
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
package org.gjt.mm.mysql;import java.sql.SQLException;
/**
* Here for backwards compatibility with MM.MySQL
*
* @author Mark Matthews
*/
public class Driver
extends com.mysql.jdbc.Driver {
/**
* Creates a new instance of Driver
*
* @throws SQLException if a database error occurs.
*/
public Driver()
throws SQLException {
super();
}
}