尚硅谷 “玩转”Java 系列 - MyBatistis 消除了几乎所有的 JDBC 代码和参数的手工设置以及对结果集的检索封装。MyBatis 可以使用简单的 XML 或注解用于配置和原始映射,将接口和 Java 的 POJO(Plain Old Java Objects,普通的 Java 对象)映射成数据库中的记录。 JDBC→dbutils→MyBatis→Hibernate ### 2. mybatis 快速入门 编写第一个基于 mybaits mybaits 的测试例子: #### 2.1. 添加 jar 包 【mybatis】 mybatis-3.1.1.jar 【MYSQL 驱动包】 mysql-connector-java-5.1.7-bin.jar #### 2.2. 建库+表 create database mybatis; use mybatis; CREATE TABLE users(id INT PRIMARY User { private int id; private String name; private int age; //get, set 方法 } 【更多 Java - Android 资料下载,可访问尚硅谷(中国)官网 www.atguigu.com 下载区】 ##### 2.5. 定义操作 users 表的 sql 映射文件 userMapper.xml0 码力 | 27 页 | 322.51 KB | 2 年前3
MyBatis 框架尚硅谷 java 研究院版本:V 1.0# MyBatis 框架 # 尚硅谷 java 研究院 版本:V 1.0 ## 第 1 章 MyBatis 简介 ### 1.1 MyBatis 历史 1)MyBatis 是 Apache 的一个开源项目 iBatis, 2010 年 6 月这个项目由 Apache Software Foundation 迁移到了 Google Code,随着开发团队转投 Google Code 旗下,iBatis3 旗下,iBatis3.x 正式更名为 MyBatis,代码于 2013 年 11 月迁移到 Github 2)iBatis 一词来源于“internet”和“abatis”的组合,是一个基于 Java 的持久层框架。iBatis 提供的持久层框架包括 SQL Maps 和 Data Access Objects(DAO) ### 1.2 MyBatis 简介 1)MyBatis 是支持定制化 SQ 3)MyBatis 可以使用简单的 XML 或注解用于配置和原始映射,将接口和 Java 的 POJO(Plain Old Java Objects,普通的 Java 对象)映射成数据库中的记录 ### 1.3 为什么要使用 MyBatis - 现有持久化技术的对比 1)JDBC ① SQL 夹在 Java 代码块里,耦合度高导致硬编码内伤 ② 维护不易且实际开发需求中 sql 是有变化,频繁修改的情况多见0 码力 | 44 页 | 926.54 KB | 2 年前3
Firebird Docbuilding Howto SpanishDesproteger el módulo manual ..... 5 Construir los documentos de Firebird ..... 8 Adónde obtener Java 2 ..... 8 Cómo configurar el entorno para la construcción ..... 9 Generar los documentos HTML DocBook XML. Ant es una herramienta Java; necesita una versión reciente de Java 2 instalada en su sistema. En las siguientes subsecciones le mostraremos: 1. Adónde obtener Java 2 2. Cómo configurar un entorno reciente de Java 2, puede omitir el primer paso. ## Adónde obtener Java 2 Descargue e instale sólo uno de los siguientes: - Java 2 Runtime Environment, Standard Edition (Entorno de ejecución Java 2, edición0 码力 | 11 页 | 71.13 KB | 2 年前3
MYBATIS Quick Guidean alternative to JDBC and Hibernate. It automates the mapping between SQL databases and objects in Java, .NET, and Ruby on Rails. The mappings are decoupled from the application logic by packaging the SQL development. • Portability – MyBatis can be implemented for nearly any language or platform such as Java, Ruby, and C# for Microsoft .NET. - Independent Interfaces – MyBatis provides database-independent inheritance.  MyBatis uses JAVA programming language while developing database oriented application. Before proceeding further, make0 码力 | 34 页 | 301.72 KB | 2 年前3
TiDB v6.1 Documentation2 Build a TiDB Application Using Spring Boot ··· 163 4.3.3 Build a Simple CRUD App with TiDB and Java ··· 195 4.3.4 Build a Simple CRUD App with TiDB and Python ··· 234 4.4 Connect to TiDB ··· 257 Best Practices ··· 1394 12.5.1 TiDB Best Practices ··· 1394 12.5.2 Best Practices for Developing Java Applications with TiDB ··· 1401 12.5.3 Best Practices for Using HAProxy in TiDB ··· 1414 12.5.4 3868  15.3.12 Error: java.sql.BatchUpdateExecption:statement count 5001 exceeds the transaction limitation while using Sqoop0 码力 | 4487 页 | 84.44 MB | 2 年前3
TiDB v6.1 中文手册4.3.1 TiDB 和 Golang 的简单 CRUD 应用程序 ··· 106 4.3.2 使用 Spring Boot 构建 TiDB 应用程序 ··· 122 4.3.3 TiDB 和 Java 的简单 CRUD 应用程序 ··· 149 4.3.4 使用 Django 构建 TiDB 应用程序 ··· 185 4.3.5 TiDB 和 Python 的简单 CRUD 应用程序 ··· 12.4.2 通过系统变量tidb_snapshot读取历史数据 ··· 1073 12.5 最佳实践 ··· 1077 12.5.1 TiDB最佳实践 ··· 1077 12.5.2 开发Java应用使用TiDB的最佳实践 ··· 1082 12.5.3 HAProxy在TiDB中的最佳实践 ··· 1091 12.5.4 TiDB高并发写入场景最佳实践 ··· 1099 12.5.5 3141 15.3.11 如何在 TiDB 中修改 sql_mode? ··· 3141 15.3.12 用 Sqoop 批量写入 TiDB 数据,虽然配置了 --batch 选项,但还是会遇到 java.sql.BatchUpdateExecption:statement count 5001 exceeds the transaction limitation 的错误,该如何解决? ··· 31410 码力 | 3572 页 | 84.36 MB | 2 年前3
VMware Greenplum v6.19 DocumentationPlatform Requirements 142 Platform Requirements 0 Operating Systems 142 Software Dependencies 143 Java 145 Hardware and Network 145 Tanzu Greenplum on DCA Systems 145 Storage 146 Data Domain Boost 437 PL/Java Language 437 PL/Java Language 0 About PL/Java 438 About Greenplum Database PL/Java 439 Functions 439 Server Configuration Parameters 439 Installing Java 440 Installing PL/Java 441 Installing Installing the Greenplum PL/Java Extension 442 Enabling PL/Java and Installing JAR Files 443 Uninstalling PL/Java 444 Remove PL/Java Support for a Database 444 Uninstall the Java JAR files and Software0 码力 | 1972 页 | 20.05 MB | 2 年前3
VMware Greenplum v6.18 DocumentationPlatform Requirements 141 Platform Requirements 0 Operating Systems 141 Software Dependencies 142 Java 144 Hardware and Network 144 Tanzu Greenplum on DCA Systems 144 Storage 145 Data Domain Boost 428 PL/Java Language 428 PL/Java Language 0 About PL/Java 429 About Greenplum Database PL/Java 430 Functions 430 Server Configuration Parameters 430 Installing Java 431 Installing PL/Java 432 Installing Installing the Greenplum PL/Java Extension 432 Enabling PL/Java and Installing JAR Files 433 Uninstalling PL/Java 434 Remove PL/Java Support for a Database 434 Uninstall the Java JAR files and Software0 码力 | 1959 页 | 19.73 MB | 2 年前3
VMware Tanzu Greenplum v6.20 DocumentationRelated Products 132 Platform Requirements 134 Operating Systems 134 Software Dependencies 135 Java 137 Hardware and Network 137 Tanzu Greenplum on DCA Systems 137 Storage 137 Data Domain Boost References 432 PL/Java Language 432 About PL/Java 433 About Greenplum Database PL/Java 434 Functions 434 Server Configuration Parameters 434 Installing Java 435 Installing PL/Java 436 Installing the the Greenplum PL/Java Extension 437 Enabling PL/Java and Installing JAR Files 438 Uninstalling PL/Java 438 Remove PL/Java Support for a Database 439 Uninstall the Java JAR files and Software Package0 码力 | 1988 页 | 20.25 MB | 2 年前3
Apache ShardingSphere 5.4.1 Document.. 59 Data Source ..... 61 Rules ..... 63 Algorithm ..... 83 JDBC Driver ..... 85 9.1.2 Java API ..... 90 Overview ..... 90 Usage ..... 91 Mode ..... 92 Data Source ..... 95 Rules itself. #### 1.1.1 ShardingSphere-JDBC ShardingSphere-JDBC is a lightweight Java framework that provides additional services at Java’s JDBC layer. #### 1.1.2 ShardingSphere-Proxy ShardingSphere-Proxy is variety of scenarios such as Java isomorphism, heterogeneous languages, and a cloud-native environment. ### 3.1 Using ShardingSphere-JDBC ShardingSphere-JDBC is a lightweight Java framework that provides0 码力 | 572 页 | 3.73 MB | 2 年前3
共 244 条
- 1
- 2
- 3
- 4
- 5
- 6
- 25
相关搜索词
MyBatis缓存动态SQL实体类数据库操作持久层框架SQL映射Mapper接口事务管理CVSDocBook XMLAntJ2REJava持久化框架XML配置对象关系映射TiDB性能优化动态配置数据迁移兼容性变化分布式数据库HTAPTiKVTiFlash事务机制Greenplum DatabaseMassively Parallel Processing (MPP)Query Optimizer (GPORCA)Resource QueuesGreenplum Command Centergpstate命令optimizer_xform_bind_thresholdgp_autostats_allow_nonownergp_legacy_string_agglicence文件Massively Parallel ProcessingData WarehousingResource GroupsGPORCA数据分片分布式事务读写分离数据联邦查询













