[JAVA学习笔记-74]了解JDBC
来源:互联网 发布:文言文乎的用法 编辑:程序博客网 时间:2024/05/18 01:45
JDBC provides methods to query and update data in a database.
dynamically loading the correct Java packages and registerting them with the JDBC Driver Manager,
the JDBC Driver Manager is used as a connection factory for creating connections.
JDBC connections support creating and executing statements.Statements can be update(CREATE,INSERT,UPDATE,DELETE) and query(SELECT).
Statement – the statement is sent to the database server each and every time.
PreparedStatement – the statement is cached and then the execution path is pre-determined on the database server allowing it to be executed multiple times in an efficient manner.
CallableStatement – used for executing stored procedures on the database.
Update statements return an update count that indicates how many rows were affected in the database.
Query statements return a JDBC row result set.
JDBC connections are often managed via a connection pool rather than obtained directly from the driver.
阅读全文
0 0
- [JAVA学习笔记-74]了解JDBC
- JAVA JDBC 学习 笔记
- JAVA JDBC学习笔记
- Java JDBC 学习笔记
- Java JDBC学习笔记
- JDBC-----JAVA 学习笔记
- java的JDBC学习笔记
- Java学习笔记之JDBC
- Java JDBC 学习笔记1
- Java JDBC 学习笔记1
- java学习笔记-jdbc篇
- JAVA学习笔记(五十)- JDBC Java数据库连接
- 【Java学习笔记】初步了解反射
- JAVA学习笔记 -- JDBC及其应用
- 疯狂Java学习笔记(50)-----------JDBC
- 【Java学习笔记】JDBC连接mySql数据库
- Java学习笔记(50)-----------JDBC
- Java学习笔记2-JDBC存储过程
- 互联网世界的神奇逻辑
- 内容安全策略(CSP)_防御_XSS_攻击的好助手
- Intellij IDEA 使用技巧一
- 安装parallels desktop之后 Windows镜像文件不能少
- TCP Header
- [JAVA学习笔记-74]了解JDBC
- 归并排序
- javascript方法练习之[map]
- js计算间隔天数
- JavaScript的this 与JQuery的$(this)
- [JAVA学习笔记-75]关于CAS
- 安全测试-SQL注入
- Error:Cause: failed to find target with hash string 'android-24' in...
- 程序员_你和高考隔了几年?