Trail:JDBC Database Access

Trail: JDBC Database Access

Lesson: JDBC Introduction

JDBC manage three programming activities:

  1. Connect to a data source, like a database.
  2. Send queries and update statements to the database.
  3. Retrieve and process the results received from the database in answer to your query.
JDBC Product Components

JDBC includes four components:

  1. The JDBC API is divided into two packages: java.sql and javax.sql.
  2. JDBC Driver Manager
  3. JDBC Test Suite
  4. 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.

相关文章

连接数据库的方式:第一种方式:ODBC:开放数据库连接是微软...
JDBCRequest 使用VariableNamesmysql:数据库连接池对象var...
 1.JDBCDBC(JavaDataBaseConnectivity):Java数据库连接技术...
1.需要jar包的支持:java.sqljavax.sqlmysql-conneter-java....
1.简介Activiti是一个业务流程管理(BPM)框架,它是覆盖了业务...
1.JDBC体系系统一组规范:接口JDBC接口(API)包括两个层次:...