摘要:
/** * 事务 */ public class Test { public static void main(String[] args) { Connection conn = null; PreparedStatement ps = null; try { //直接用上一篇文章内写好的工具类创建conn ... 阅读全文
摘要:
简单工具类: 简单工具类的应用: 阅读全文
摘要:
JDBC的基础应用CURD: 增删改 查询 阅读全文
摘要:
1. JDBC的简介 概述: 就是Java用来操作不同数据库(DBMS)的类库(技术), 本质就是一些类和接口. /* 类: DriverManager 接口: Driver, Connection, Statement, PreparedStatement, ResultSet */ ... 阅读全文