SqlMapConfig.xml配置模板
来源:互联网 发布:淘宝家具大品牌有哪些 编辑:程序博客网 时间:2024/06/03 05:38
<?xml version="1.0" encoding="UTF-8" ?><!DOCTYPE configuration PUBLIC "-//mybatis.org//DTD Config 3.0//EN" "http://mybatis.org/dtd/mybatis-3-config.dtd"><configuration> <environments default="environment"> <environment id="environment"> <transactionManager type="JDBC" /> <dataSource type="POOLED"> <property name="driver" value="oracle.jdbc.OracleDriver" /> <property name="url" value="jdbc:oracle:thin:@192.168.0.23:1521:tarena10g"/> <property name="username" value="demo" /> <property name="password" value="demo" /> </dataSource> </environment> </environments> <mappers> <mapper resource="org/tarena/entity/Emp.xml" /> </mappers></configuration>
注意:配置标签需严格按照
(properties, settings, typeAliases, typeHandlers, objectFactory, objectWrapperFactory, reflectorFactory, plugins, environments, databaseIdProvider, mappers)
顺序,否则会报错
阅读全文
0 0
- SqlMapConfig.xml配置模板
- Mybatis笔记之sqlMapConfig.xml配置模板
- ibatis SqlMapConfig.xml 配置
- SqlMapConfig.xml 配置
- mybatis 配置sqlMapConfig.xml
- Mybatis-SqlMapConfig.xml配置
- ibatis - sqlMapConfig.xml配置
- SqlMapConfig.xml模板(分页)
- iBatis的SqlMapConfig.xml配置
- ibatis SqlMapConfig.xml 配置settings
- ibatis SqlMapConfig.xml 配置settings
- mybatis 配置详解-SqlMapConfig.xml
- SqlMapConfig.xml配置文件详细配置
- SqlMapConfig.xml批量配置别名
- SqlMapConfig.xml文件配置 mybatis
- SqlMapConfig.xml中配置详解
- Mybatis的SqlMapConfig.xml配置文件模板
- Spring配置iBatis多个SqlMapConfig.xml
- 关于使用Phalcon [PHQL]:Model could not be loaded
- 乘法口诀表
- 自定义封装Jquery ajax方法
- 继承 和 多继承
- python——赋值与深浅拷贝
- SqlMapConfig.xml配置模板
- hdu1686--kmp入门题
- Java编写冒泡排序及优化
- ros:(1)我的第一个ros文件
- 重写 弗雷方法 和 调用
- 【Node文件系统fs模块】
- java配置文件.properties 文件用法介绍
- 20170927_利用大根堆求出最小的K个数
- Subsequence