TiDB v6.1 Documentation} Change to the gorm directory: cd gorm The structure of this directory is as follows: . ── Makefile ── go.mod ── go.sum ── gorm.go gorm.go is the main body of the gorm. Compared with go-sql-driver/mysql to the sqldriver directory: cd sqldriver The structure of this directory is as follows: . ── Makefile ── dao.go ── go.mod ── go.sum ── sql ── dbinit.sql ── sql.go ── sqldriver.go plain-java-mybatis directory: cd plain-java-mybatis The structure of this directory is as follows: . ── Makefile ── pom.xml ── src ── main ── java ── com ── pingcap 195 ── MybatisExample0 码力 | 4487 页 | 84.44 MB | 1 年前3
TiDB v6.1 中文手册return session.Error } return session.Transaction(fc) } 进入目录 gorm : cd gorm 目录结构如下所示: . ├ ─ ─ Makefile ├ ─ ─ go.mod ├ ─ ─ go.sum └ ─ ─ gorm.go 其中,gorm.go 是 gorm 这个示例程序的主体。使用 gorm 时,相较于 go-sql-driver/mysql,gorm return nil }) } 使用 go-sql-driver/mysql 时,首先进入目录 sqldriver: cd sqldriver 目录结构如下所示: . ├ ─ ─ Makefile ├ ─ ─ dao.go ├ ─ ─ go.mod ├ ─ ─ go.sum ├ ─ ─ sql │ └ ─ ─ dbinit.sql ├ ─ ─ sql.go └ ─ ─ MyBatis Generator 生成部 分持久层代码。 进入目录 plain-java-mybatis: cd plain-java-mybatis 目录结构如下所示: . ├ ─ ─ Makefile ├ ─ ─ pom.xml └ ─ ─ src └ ─ ─ main ├ ─ ─ java │ └ ─ ─ com │ └ ─ ─ pingcap │ ├ ─ ─ MybatisExample0 码力 | 3572 页 | 84.36 MB | 1 年前3
TiDB v6.5 Documentationenvironment variables in the URL. For example, https://gitpod �→ .io/#targetFile=spring-jpa-hibernate_Makefile,targetMode=spring-jpa- �→ hibernate/https://github.com/pingcap-inc/tidb-example-java. 3. Log in example. You can create a new workspace by the https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile,targetMode �→ =spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java URL. After0 码力 | 5282 页 | 99.69 MB | 1 年前3
TiDB v7.1 Documentationenvironment variables in the URL. For example, https://gitpod �→ .io/#targetFile=spring-jpa-hibernate_Makefile,targetMode=spring-jpa- �→ hibernate/https://github.com/pingcap-inc/tidb-example-java. 3. Log in example. You can create a new workspace by the https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile,targetMode �→ =spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java URL. After0 码力 | 5716 页 | 104.74 MB | 1 年前3
TiDB v7.6 Documentationenvironment variables in the URL. For example, https://gitpod �→ .io/#targetFile=spring-jpa-hibernate_Makefile,targetMode=spring-jpa- �→ hibernate/https://github.com/pingcap-inc/tidb-example-java. 3. Log in example. You can create a new workspace by the https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile,targetMode �→ =spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java URL. After0 码力 | 6123 页 | 107.24 MB | 1 年前3
TiDB v7.5 Documentationenvironment variables in the URL. For example, https://gitpod �→ .io/#targetFile=spring-jpa-hibernate_Makefile,targetMode=spring-jpa- �→ hibernate/https://github.com/pingcap-inc/tidb-example-java. 3. Log in example. You can create a new workspace by the https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile,targetMode �→ =spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java URL. After0 码力 | 6020 页 | 106.82 MB | 1 年前3
TiDB v7.1 中文手册e-java。 • 支 持 在 URL 中 配 置 环 境 变 量。 例 如,https://gitpod.io/#targetFile=spring-jpa-hibernate_ �→ Makefile,targetMode=spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example �→ -java。 3. 使用列出的 会需要一段时间来设置你的工作区。 以Spring Boot Web 应用程序为例,通过 URL https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile �→ ,targetMode=spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java 可以创建一个 新工作区。0 码力 | 4369 页 | 98.92 MB | 1 年前3
TiDB v8.1 Documentationenvironment variables in the URL. For example, https://gitpod �→ .io/#targetFile=spring-jpa-hibernate_Makefile,targetMode=spring-jpa- �→ hibernate/https://github.com/pingcap-inc/tidb-example-java. 3. Log in example. You can create a new workspace by the https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile,targetMode �→ =spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java URL. After0 码力 | 6321 页 | 107.46 MB | 1 年前3
TiDB v6.5 中文手册e-java。 • 支 持 在 URL 中 配 置 环 境 变 量。 例 如,https://gitpod.io/#targetFile=spring-jpa-hibernate_ �→ Makefile,targetMode=spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example �→ -java。 3. 使用列出的 会需要一段时间来设置你的工作区。 以Spring Boot Web 应用程序为例,通过 URL https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile �→ ,targetMode=spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java 可以创建一个 新工作区。0 码力 | 4049 页 | 94.00 MB | 1 年前3
TiDB v8.0 Documentationenvironment variables in the URL. For example, https://gitpod �→ .io/#targetFile=spring-jpa-hibernate_Makefile,targetMode=spring-jpa- �→ hibernate/https://github.com/pingcap-inc/tidb-example-java. 3. Log in example. You can create a new workspace by the https://gitpod.io/#targetFile=spring-jpa-hibernate_Makefile,targetMode �→ =spring-jpa-hibernate/https://github.com/pingcap-inc/tidb-example-java URL. After0 码力 | 6327 页 | 107.55 MB | 1 年前3
共 22 条
- 1
- 2
- 3













