![](https://img-blog.csdnimg.cn/20201014180756927.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
mysql
undergrowth
这个作者很懒,什么都没留下…
展开
-
java使用tomcat数据源连接mysql
主要是用tomcat提供的数据源 ,访问mysql数据库,进行sql查询、调用存储过程 写的很简单 用Servlet提供输出 import java.io.IOException; import java.sql.SQLException; import java.util.ArrayList; import java.util.List; import javax.servlet原创 2015-06-17 16:26:59 · 1801 阅读 · 0 评论 -
mybatis3.2.7学习笔记1_Mapper编程
因为项目的需要 最近要用到mybatis 就学习了下 记录下学习的笔记 参考源: http://java.itcast.cn/news/20150512/13543033211.shtml 这是传智播客的燕青老师讲的 讲的很好 强烈推荐 /** * Mapper接口 * Mapper编程相比于自己编写Dao实现 * 1、提取了Dao实现大量的模板代码 * 2、避免了stat原创 2015-06-22 19:49:11 · 1020 阅读 · 0 评论 -
apache-comnons系列之commons-dbutils1.7 学习笔记
apache-comnons系列之commons-dbutils1.7 学习笔记概述 参考 http://blog.csdn.net/imust_can/article/details/7005972 DbUtils A collection of JDBC helper methods. This class is thread safe. QueryRunner Executes SQL原创 2017-07-26 00:17:45 · 2288 阅读 · 0 评论