Star21
136
代码介绍
代码
Issues3693
Pull Requests55
流水线
Actions
项目讨论
Wiki
项目成员302
分析
项目设置
Star21
136
  1. docs
  2. /
  3. docs-lite
  4. /
  5. en
  6. /
  7. developer_guide
  8. /
  9. development_based_on_jdbc.md
Hhemiao3787修改目录结构
3bd8445b创建于 1月27日历史提交

Development Based on JDBC

Java Database Connectivity (JDBC) is a Java API for running SQL statements. It provides unified access APIs for different relational databases, based on which applications process data. The openGauss library supports JDBC 4.0 and requires JDK 1.8 for code compiling. It does not support JDBC_ODBC bridge.

  • JDBC Package, Driver Class, and Environment Class

  • Development Process

  • Loading the Driver

_ Connecting to a Database

  • Connecting to the Database (Using SSL)

  • Running SQL Statements

  • Processing Data in a Result Set

  • Closing a Connection

  • Log Management

  • Example: Retrying SQL Queries for Applications

  • Example: Importing and Exporting Data Through Local Files

  • Example: Migrating Data from a MY Database to openGauss

  • Example: Logic Replication Code

  • Example: Parameters for Connecting to the Database in Different Scenarios

  • JDBC API Reference