积分充值
 首页
前端开发
AngularDartElectronFlutterHTML/CSSJavaScriptReactSvelteTypeScriptVue.js构建工具
后端开发
.NetC#C++C语言DenoffmpegGoIdrisJavaJuliaKotlinLeanMakefilenimNode.jsPascalPHPPythonRISC-VRubyRustSwiftUML其它语言区块链开发测试微服务敏捷开发架构设计汇编语言
数据库
Apache DorisApache HBaseCassandraClickHouseFirebirdGreenplumMongoDBMySQLPieCloudDBPostgreSQLRedisSQLSQLiteTiDBVitess数据库中间件数据库工具数据库设计
系统运维
AndroidDevOpshttpdJenkinsLinuxPrometheusTraefikZabbix存储网络与安全
云计算&大数据
Apache APISIXApache FlinkApache KarafApache KyuubiApache OzonedaprDockerHadoopHarborIstioKubernetesOpenShiftPandasrancherRocketMQServerlessService MeshVirtualBoxVMWare云原生CNCF机器学习边缘计算
综合其他
BlenderGIMPKiCadKritaWeblate产品与服务人工智能亿图数据可视化版本控制笔试面试
文库资料
前端
AngularAnt DesignBabelBootstrapChart.jsCSS3EchartsElectronHighchartsHTML/CSSHTML5JavaScriptJerryScriptJestReactSassTypeScriptVue前端工具小程序
后端
.NETApacheC/C++C#CMakeCrystalDartDenoDjangoDubboErlangFastifyFlaskGinGoGoFrameGuzzleIrisJavaJuliaLispLLVMLuaMatplotlibMicronautnimNode.jsPerlPHPPythonQtRPCRubyRustR语言ScalaShellVlangwasmYewZephirZig算法
移动端
AndroidAPP工具FlutterFramework7HarmonyHippyIoniciOSkotlinNativeObject-CPWAReactSwiftuni-appWeex
数据库
ApacheArangoDBCassandraClickHouseCouchDBCrateDBDB2DocumentDBDorisDragonflyDBEdgeDBetcdFirebirdGaussDBGraphGreenPlumHStreamDBHugeGraphimmudbIndexedDBInfluxDBIoTDBKey-ValueKitDBLevelDBM3DBMatrixOneMilvusMongoDBMySQLNavicatNebulaNewSQLNoSQLOceanBaseOpenTSDBOracleOrientDBPostgreSQLPrestoDBQuestDBRedisRocksDBSequoiaDBServerSkytableSQLSQLiteTiDBTiKVTimescaleDBYugabyteDB关系型数据库数据库数据库ORM数据库中间件数据库工具时序数据库
云计算&大数据
ActiveMQAerakiAgentAlluxioAntreaApacheApache APISIXAPISIXBFEBitBookKeeperChaosChoerodonCiliumCloudStackConsulDaprDataEaseDC/OSDockerDrillDruidElasticJobElasticSearchEnvoyErdaFlinkFluentGrafanaHadoopHarborHelmHudiInLongKafkaKnativeKongKubeCubeKubeEdgeKubeflowKubeOperatorKubernetesKubeSphereKubeVelaKumaKylinLibcloudLinkerdLonghornMeiliSearchMeshNacosNATSOKDOpenOpenEBSOpenKruiseOpenPitrixOpenSearchOpenStackOpenTracingOzonePaddlePaddlePolicyPulsarPyTorchRainbondRancherRediSearchScikit-learnServerlessShardingSphereShenYuSparkStormSupersetXuperChainZadig云原生CNCF人工智能区块链数据挖掘机器学习深度学习算法工程边缘计算
UI&美工&设计
BlenderKritaSketchUI设计
网络&系统&运维
AnsibleApacheAWKCeleryCephCI/CDCurveDevOpsGoCDHAProxyIstioJenkinsJumpServerLinuxMacNginxOpenRestyPrometheusServertraefikTrafficUnixWindowsZabbixZipkin安全防护系统内核网络运维监控
综合其它
文章资讯
 上传文档  发布文章  登录账户
IT文库
  • 综合
  • 文档
  • 文章

无数据

分类

全部数据库(16)PostgreSQL(10)数据库中间件(4)TiDB(2)

语言

全部英语(11)中文(简体)(5)

格式

全部PDF文档 PDF(16)
 
本次搜索耗时 0.574 秒,为您找到相关结果约 16 个.
  • 全部
  • 数据库
  • PostgreSQL
  • 数据库中间件
  • TiDB
  • 全部
  • 英语
  • 中文(简体)
  • 全部
  • PDF文档 PDF
  • 默认排序
  • 最新排序
  • 页数排序
  • 大小排序
  • 全部时间
  • 最近一天
  • 最近一周
  • 最近一个月
  • 最近三个月
  • 最近半年
  • 最近一年
  • pdf文档 Mybatis 框架课程第二天

    第二步:导入坐标 第三步:编写必要代码(实体类和持久层接口) 第四步:编写 SqlMapConfig.xml 第五步:编写映射配置文件 第六步:编写测试类 第2章 基于代理 Dao 实现 CRUD 操作 使用要求: 1、持久层接口和持久层接口的映射配置必须在相同的包下 2、持久层映射配置中 mapper 标签的 namespace 属性取值必须是持久层接口的全限定类名 builder.build(in); //4.创建 SqlSession 对象 session = factory.openSession(); //5.创建 Dao 的代理对象 userDao = session.getMapper(IUserDao.class); } 传智播客——专注于 Java、.Net 和 Php、网页平面设计工程师的培训 会讲解如何配置实体类的别名) 同时,当是实体类名称是,还有一个要求,实体类中的属性名称必须和查询语句中的列名保持一致,否则无法 实现封装。 4.1.1 基本类型示例 4.1.1.1 Dao 接口 /** * 查询总记录条数 * @return */ int findTotal(); 4.1.1.2 映射配置
    0 码力 | 27 页 | 1.21 MB | 1 年前
    3
  • pdf文档 传智播客 mybatis 框架课程讲义

    总之,按照用户的需求在有限的资源环境下只要能做出维护性、扩展性良好的软件架构 都是好架构,所以框架只有适合才是最好。 2 Dao 开发方法 使用 Mybatis 开发 Dao,通常有两个方法,即原始 Dao 开发方法和 Mapper 接口开发方 法。 2.1 需求 将下边的功能实现 Dao: 根据用户 id 查询一个用户信息 根据用户名称模糊查询用户信息列表 添加用户信息 2.2 SqlSession sqlSessionFactory.openSession(); try { // do work } finally { session.close(); } 2.3 原始 Dao 开发方式 原始 Dao 开发方法需要程序员编写 Dao 接口和 Dao 实现类。 2.3.1 映射文件 2.3.2 Dao 接口 Public interface UserDao { public User getUserById(int id) throws Exception; public void insertUser(User
    0 码力 | 75 页 | 1.16 MB | 1 年前
    3
  • pdf文档 MyBatis 框架尚硅谷 java 研究院版本:V 1.0

    2)iBatis 一词来源于“internet”和“abatis”的组合,是一个基于 Java 的持久层框架。 iBatis 提供的持久层框架包括 SQL Maps 和 Data Access Objects(DAO) 1.2 MyBatis 简介 1) MyBatis 是支持定制化 SQL、存储过程以及高级映射的优秀的持久层框架 2) MyBatis 避免了几乎所有的 JDBC 代码和手动设置参数以及获取结果集 人工智能资料下载,可访问百度:尚硅谷官网 3) 使用批量注册,这种方式要求 SQL 映射文件名必须和接口名相同并且在同一目录下 第 4 章 MyBatis 映射文件 4.1 Mybatis 映射文件简介 1) MyBatis 的真正强大在于它的映射语句,也是它的魔力所在。由于它的异常强大,映射 JAVAEE 课程系列 ————————————————————————————— 16 更多 Java
    0 码力 | 44 页 | 926.54 KB | 1 年前
    3
  • pdf文档 尚硅谷 “玩转”Java 系列 - MyBatis

    ————————————————————————————— 5 【更多 Java – Android 资料下载,可访问尚硅谷(中国)官网 www.atguigu.com 下载区】 3). 在 dao 中调用: public User getUserById(int id) { SqlSession session = sessionFactory.openSession(); User user ————————————————————————————— 6 【更多 Java – Android 资料下载,可访问尚硅谷(中国)官网 www.atguigu.com 下载区】 3). 在 dao 类中调用 public User getUserById(int id) { SqlSession session = sessionFactory.openSession(); UserMapper private String name; private Date birthday; private double salary; //set,get 方法 } 10.4. DAO 接口: UserMapper (XXXMapper) public interface UserMapper { void save(User user); void update(User user);
    0 码力 | 27 页 | 322.51 KB | 1 年前
    3
  • pdf文档 TiDB v6.1 Documentation

    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 You can find MySQL source instance db, err := sql.Open �→ ("mysql", dsn) to connect to TiDB. Then, you can use dao.go to read, edit, add, and delete data. package main import ( "database/sql" "fmt" _ "github.c Commit() } func (tx *TiDBSqlTx) Rollback() error { defer tx.conn.Close() return tx.Tx.Rollback() } dao.go defines a set of data manipulation methods to provide the ability to write data. This is also the
    0 码力 | 4487 页 | 84.44 MB | 1 年前
    3
  • pdf文档 TiDB v6.1 中文手册

    } 使用 go-sql-driver/mysql 时,首先进入目录 sqldriver: cd sqldriver 目录结构如下所示: . ├ ─ ─ Makefile ├ ─ ─ dao.go ├ ─ ─ go.mod ├ ─ ─ go.sum ├ ─ ─ sql │ └ ─ ─ dbinit.sql ├ ─ ─ sql.go └ ─ ─ sqldriver.go 这个示例程序的主体。因为 TiDB 与 MySQL 协议兼容,因此,需要初始化一个 MySQL 协议的数据源 db, err := sql.Open("mysql", dsn),以此连接到 TiDB。并在其后,调用 dao.go 中的一系列方 法,用来管理数据对象,进行增删改查等操作。 package main import ( "database/sql" "fmt" _ "github.com/go-sql-driver/mysql" func (tx *TiDBSqlTx) Rollback() error { 114 defer tx.conn.Close() return tx.Tx.Rollback() } 在 dao.go 中定义一系列数据的操作方法,用来对提供数据的写入能力。这也是本例子中和核心部分。 package main import ( "database/sql" "fmt" "math/rand"
    0 码力 | 3572 页 | 84.36 MB | 1 年前
    3
  • pdf文档 PostgreSQL 13.13 Documentation

    ORDER BY index_method, opfamily_name, opfamily_operator; Tip psql has commands \dAc, \dAf, and \dAo, which provide slightly more sophisticated ver- sions of these queries. 11.11. Indexes and Collations are listed. If + is appended to the command name, each operator family is listed with its owner. \dAo[+] [access-method-pattern [operator-family-pattern]] Lists operators associated with operator families families (Sergey Cherkashin, Nikita Glukhov, Alexander Korotkov) The new commands are \dAc, \dAf, \dAo, and \dAp. • Show table persistence in psql's \dt+ and related commands (David Fetter) In verbose
    0 码力 | 2782 页 | 13.00 MB | 1 年前
    3
  • pdf文档 PostgreSQL 13.14 Documentation

    ORDER BY index_method, opfamily_name, opfamily_operator; Tip psql has commands \dAc, \dAf, and \dAo, which provide slightly more sophisticated versions of these queries. 11.11. Indexes and Collations are listed. If + is appended to the command name, each operator family is listed with its owner. \dAo[+] [access-method-pattern [operator-family-pattern]] Lists operators associated with operator families families (Sergey Cherkashin, Nikita Glukhov, Alexander Korotkov) The new commands are \dAc, \dAf, \dAo, and \dAp. • Show table persistence in psql's \dt+ and related commands (David Fetter) In verbose
    0 码力 | 2940 页 | 12.89 MB | 1 年前
    3
  • pdf文档 PostgreSQL 14.10 Documentation

    ORDER BY index_method, opfamily_name, opfamily_operator; Tip psql has commands \dAc, \dAf, and \dAo, which provide slightly more sophisticated versions of these queries. 11.11. Indexes and Collations are listed. If + is appended to the command name, each operator family is listed with its owner. \dAo[+] [access-method-pattern [operator-family-pattern]] Lists operators associated with operator families
    0 码力 | 3032 页 | 13.27 MB | 1 年前
    3
  • pdf文档 PostgreSQL 14.10 Documentation

    ORDER BY index_method, opfamily_name, opfamily_operator; Tip psql has commands \dAc, \dAf, and \dAo, which provide slightly more sophisticated ver- sions of these queries. 11.11. Indexes and Collations are listed. If + is appended to the command name, each operator family is listed with its owner. \dAo[+] [access-method-pattern [operator-family-pattern]] Lists operators associated with operator families
    0 码力 | 2871 页 | 13.38 MB | 1 年前
    3
共 16 条
  • 1
  • 2
前往
页
相关搜索词
Mybatis框架课程第二二天第二天传智播mybatis讲义MyBatis硅谷java研究研究院版本1.0玩转Java系列TiDBv6Documentation中文手册PostgreSQL13.1313.1414.10
IT文库
关于我们 文库协议 联系我们 意见反馈 免责声明
本站文档数据由用户上传或本站整理自互联网,不以营利为目的,供所有人免费下载和学习使用。如侵犯您的权益,请联系我们进行删除。
IT文库 ©1024 - 2025 | 站点地图
Powered By MOREDOC AI v3.3.0-beta.70
  • 关注我们的公众号【刻舟求荐】,给您不一样的精彩
    关注我们的公众号【刻舟求荐】,给您不一样的精彩