TiDB v8.5 Documentationcomplex SQL statements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions 2 Connect to TiDB with MyBatis TiDB is a MySQL-compatible database, and MyBatis is a popular open-source Java ORM. In this tutorial, you can learn how to use TiDB and MyBatis to accomplish the following following tasks: • Set up your environment. • Connect to your TiDB cluster using MyBatis. • Build and run your application. Optionally, you can find sample code snippets for basic CRUD operations. Note:0 码力 | 6730 页 | 111.36 MB | 10 月前3
TiDB v8.2 Documentationcomplex SQL statements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions 2 Connect to TiDB with MyBatis TiDB is a MySQL-compatible database, and MyBatis is a popular open-source Java ORM. In this tutorial, you can learn how to use TiDB and MyBatis to accomplish the following following tasks: • Set up your environment. • Connect to your TiDB cluster using MyBatis. • Build and run your application. Optionally, you can find sample code snippets for basic CRUD operations. Note:0 码力 | 6549 页 | 108.77 MB | 10 月前3
TiDB v8.3 Documentationcomplex SQL statements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions 2 Connect to TiDB with MyBatis TiDB is a MySQL-compatible database, and MyBatis is a popular open-source Java ORM. In this tutorial, you can learn how to use TiDB and MyBatis to accomplish the following following tasks: • Set up your environment. • Connect to your TiDB cluster using MyBatis. • Build and run your application. Optionally, you can find sample code snippets for basic CRUD operations. Note:0 码力 | 6606 页 | 109.48 MB | 10 月前3
TiDB v8.4 Documentationcomplex SQL statements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions 2 Connect to TiDB with MyBatis TiDB is a MySQL-compatible database, and MyBatis is a popular open-source Java ORM. In this tutorial, you can learn how to use TiDB and MyBatis to accomplish the following following tasks: • Set up your environment. • Connect to your TiDB cluster using MyBatis. • Build and run your application. Optionally, you can find sample code snippets for basic CRUD operations. Note:0 码力 | 6705 页 | 110.86 MB | 10 月前3
TiDB v8.1 Documentationcomplex SQL statements, it is recommended to use ORM framework for development, such as Hibernate, MyBatis, or Spring Data JPA. It can help you: • Reduce boilerplate code for managing connections and transactions 2 Connect to TiDB with MyBatis TiDB is a MySQL-compatible database, and MyBatis is a popular open-source Java ORM. In this tutorial, you can learn how to use TiDB and MyBatis to accomplish the following following tasks: • Set up your environment. • Connect to your TiDB cluster using MyBatis. • Build and run your application. Optionally, you can find sample code snippets for basic CRUD operations. Note:0 码力 | 6479 页 | 108.61 MB | 10 月前3
TiDB v8.4 中文手册手动建立和释放数据库连接 • 手动管理数据库事务 • 手动将数据行映射为数据对象 建议仅在需要编写复杂的 SQL 语句时使用驱动程序。其他情况下,建议使用 ORM 框架进行开发,例如Hibernate、 MyBatis 或Spring Data JPA。ORM 可以帮助你: • 减少管理连接和事务的模板代码 • 使用数据对象代替大量 SQL 语句来操作数据 4.3.1.1.5 下一步 • 关于 MySQL 如果在开发的过程中遇到问题,可以在 AskTUG 上进行提问,寻求帮助。 4.3.1.2 使用 MyBatis 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。MyBatis 是当前比较流行的开源 Java 应用持久层框架。 本文档将展示如何使用 TiDB 和 MyBatis 来完成以下任务: • 配置你的环境。 • 使用 MyBatis 连接到 TiDB 集群。 • 构建并运行你的应用程序。你也可以参考示例代码片段,完成基本的 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-java-mybatis-quickstart.git cd tidb-java-mybatis-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1. 在 TiDB Cloud0 码力 | 5072 页 | 104.05 MB | 10 月前3
TiDB v8.2 中文手册手动建立和释放数据库连接 • 手动管理数据库事务 • 手动将数据行映射为数据对象 建议仅在需要编写复杂的 SQL 语句时使用驱动程序。其他情况下,建议使用 ORM 框架进行开发,例如Hibernate、 MyBatis 或Spring Data JPA。ORM 可以帮助你: • 减少管理连接和事务的模板代码 • 使用数据对象代替大量 SQL 语句来操作数据 4.3.1.1.5 下一步 • 关于 MySQL 如果在开发的过程中遇到问题,可以在 AskTUG 上进行提问,寻求帮助。 4.3.1.2 使用 MyBatis 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。MyBatis 是当前比较流行的开源 Java 应用持久层框架。 本文档将展示如何使用 TiDB 和 MyBatis 来完成以下任务: • 配置你的环境。 • 使用 MyBatis 连接到 TiDB 集群。 • 构建并运行你的应用程序。你也可以参考示例代码片段,完成基本的 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-java-mybatis-quickstart.git cd tidb-java-mybatis-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1. 在 TiDB Cloud0 码力 | 4987 页 | 102.91 MB | 10 月前3
TiDB v8.5 中文手册手动建立和释放数据库连接 • 手动管理数据库事务 • 手动将数据行映射为数据对象 建议仅在需要编写复杂的 SQL 语句时使用驱动程序。其他情况下,建议使用 ORM 框架进行开发,例如Hibernate、 MyBatis 或Spring Data JPA。ORM 可以帮助你: • 减少管理连接和事务的模板代码 • 使用数据对象代替大量 SQL 语句来操作数据 4.3.1.1.5 下一步 • 关于 MySQL 如果在开发的过程中遇到问题,可以在 AskTUG 上进行提问,寻求帮助。 4.3.1.2 使用 MyBatis 连接到 TiDB TiDB 是一个兼容 MySQL 的数据库。MyBatis 是当前比较流行的开源 Java 应用持久层框架。 本文档将展示如何使用 TiDB 和 MyBatis 来完成以下任务: • 配置你的环境。 • 使用 MyBatis 连接到 TiDB 集群。 • 构建并运行你的应用程序。你也可以参考示例代码片段,完成基本的 步:克隆示例代码仓库到本地 运行以下命令,将示例代码仓库克隆到本地: git clone https://github.com/tidb-samples/tidb-java-mybatis-quickstart.git cd tidb-java-mybatis-quickstart 第 2 步:配置连接信息 根据不同的 TiDB 部署方式,使用不同的方法连接到 TiDB 集群。 1. 在 TiDB Cloud0 码力 | 5095 页 | 104.54 MB | 10 月前3
共 8 条
- 1
相关搜索词













