Trail: JDBC Database Access
Lesson: JDBC Introduction
JDBC manage three programming activities:
- Connect to a data source, like a database.
- Send queries and update statements to the database.
- Retrieve and process the results received from the database in answer to your query.
JDBC Product Components
JDBC includes four components:
- The JDBC API is divided into two packages: java.sql and javax.sql.
- JDBC Driver Manager
- JDBC Test Suite
- JDBC-ODBC Bridge
主要使用前两个, 测试后面学习 junit5 的时候留意一下
JDBC Architecture
Two-tier and Three-tier Processing Models
In the two-tier model, a java application talks directly to the data source.
In the three-tier model, commands are sent to a “middle tier” of services.
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。