资源简介
mysql-connector

代码片段和文件信息
/*
Copyright (c) 2015 2016 Oracle and/or its affiliates. All rights reserved.
The MySQL Connector/J is licensed under the terms of the GPLv2
like most MySQL Connectors.
There are special exceptions to the terms and conditions of the GPLv2 as it is applied to
this software see the FOSS License Exception
.
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; version 2
of the License.
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. 51 Franklin St Fifth
Floor Boston MA 02110-1301 USA
*/
package instrumentation;
import java.sql.Savepoint;
import java.util.Map;
import com.mysql.cj.jdbc.ConnectionImpl;
import com.mysql.cj.jdbc.ConnectionWrapper;
import com.mysql.cj.jdbc.ha.MultiHostMySQLConnection;
import javassist.ClassPool;
import javassist.CtClass;
import javassist.CtMethod;
public class CommonChecks {
public static void main(String[] args) throws Exception {
ClassPool pool = ClassPool.getDefault();
pool.insertClassPath(args[0]);
// params classes
CtClass ctClazz = pool.get(Class.class.getName());
//CtClass ctClob = pool.get(java.sql.Clob.class.getName());
//CtClass ctBindValue = pool.get(BindValue.class.getName());
CtClass ctBool = pool.get(boolean.class.getName());
//CtClass ctBoolArray = pool.get(boolean[].class.getName());
//CtClass ctByteArray2 = pool.get(byte[][].class.getName());
//CtClass ctBuffer = pool.get(Buffer.class.getName());
//CtClass ctExecutor = pool.get(Executor.class.getName());
//CtClass ctFieldArray = pool.get(Field[].class.getName());
CtClass ctInt = pool.get(int.class.getName());
CtClass ctIntArray = pool.get(int[].class.getName());
//CtClass ctInputStreamArray = pool.get(InputStream[].class.getName());
//CtClass ctLong = pool.get(long.class.getName());
CtClass ctMap = pool.get(Map.class.getName());
//CtClass ctMysqlSavepoint = pool.get(MysqlSavepoint.class.getName());
CtClass ctobjectArray = pool.get(object[].class.getName());
//CtClass ctProperties = pool.get(Properties.class.getName());
//CtClass ctReader = pool.get(Reader.class.getName());
CtClass ctSavepoint = pool.get(Savepoint.class.getName());
//CtClass ctStatement = pool.get(Statement.class.getName());
CtClass ctString = pool.get(String.class.getName());
CtClass ctS
属性 大小 日期 时间 名称
----------- --------- ---------- ----- ----
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\lib\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\build\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\build\java\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\build\java\instrumentation\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\build\misc\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\build\misc\debian.in\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\build\misc\debian.in\source\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\demo\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\demo\java\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\demo\java\demo\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\demo\java\demo\x\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\demo\java\demo\x\devapi\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\java\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\java\com\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\java\com\mysql\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\java\com\mysql\cj\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\java\com\mysql\cj\x\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\generated\java\com\mysql\cj\x\protobuf\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\doc\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\mysql\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\mysql\cj\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\mysql\cj\api\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\mysql\cj\api\authentication\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\mysql\cj\api\conf\
目录 0 2017-06-15 19:45 mysql-connector-java-8.0.7-dmr\src\main\java\com\mysql\cj\api\exceptions\
............此处省略703个文件信息
- 上一篇:tools&dt.jar
- 下一篇:jsp+mysql 在线投票系统
相关资源
- 微博系统(Java源码,servlet+jsp),适
- java串口通信全套完整代码-导入eclip
- 美食天下项目Android版源码和Web版源码
- jsonarray所必需的6个jar包.rar
- 三角网构TIN生成算法,Java语言实现
- java代码编写将excel数据导入到mysql数据
- Java写的cmm词法分析器源代码及javacc学
- JAVA JSP公司财务管理系统 源代码 论文
- JSP+MYSQL旅行社管理信息系统
- 推荐算法的JAVA实现
- 基于Java的酒店管理系统源码(毕业设
- java-图片识别 图片比较
- android毕业设计
- java23种设计模式+23个实例demo
- java Socket发送/接受报文
- JAVA828436
- java界面美化 提供多套皮肤直接使用
- 在线聊天系统(java代码)
- 基于Java的图书管理系统807185
- java中实现将页面数据导入Excel中
- java 企业销售管理系统
- java做的聊天系统(包括正规课程设计
- Java编写的qq聊天室
- mysql jsp网站源码下载
- 商店商品管理系统 JAVA写的 有界面
- JAVA开发聊天室程序
- 在linux系统下用java执行系统命令实例
- java期末考试试题两套(答案) 选择(
- JAVA3D编程示例(建模、交互)
- Java 文件加密传输
评论
共有 条评论