Mybatis整合SQLite
来源:互联网 发布:tomcat apache 编辑:程序博客网 时间:2024/06/03 17:43
db-sqllite.properties
dbType=sqlitesqlServer.driverClassName=org.sqlite.JDBCsqlServer.url=jdbc:sqlite:D:\\software\\WorkSpace2014\\bs\\ymh\\xxtzDB\\xxtz.db
注意:用双斜杠,要转义applicationContext.xml
<!--导入外部配置文件 --><context:property-placeholder location="classpath:/db-sqllite.properties"/>
<!-- 配置数据源1 --> <bean name="dataSource" class="com.alibaba.druid.pool.DruidDataSource" init-method="init" destroy-method="close"> <property name="dbType" value="${dbType}"></property> <property name="url" value="${sqlServer.url}" /> <property name="driverClassName" value="${sqlServer.driverClassName}"></property> <!-- 配置监控统计拦截的filters,配置log4j可以打印出Parameters --> <property name="filters" value="log4j" /> </bean>
阅读全文
0 0
- Mybatis-SQLite整合
- Mybatis整合SQLite
- mybatis-sqlite
- Mybatis -- Mybatis整合Spring
- 【Mybatis】Mybatis整合spring
- sqlite整合spring,springmvc
- mybatis sqlite 配置
- 【框架整合】三、整合mybatis
- SpringBoot整合Mybatis(分层整合)
- MyBatis-----2、MyBatis整合Spring
- 【Spring+Mybatis】Spring整合Mybatis
- Spring整合Mybatis
- spring整合myBatis
- MyBatis-Spring框架整合
- MyBatis+Spring整合示例
- MyBatis+Spring整合示例
- MyBatis+Spring整合方案
- 整合Mybatis 与 Spring3
- vs2012中的sdf文件出错问题
- 在LaTeX中插入引用
- Geo-Plus.VisionLidar.v28.0.01.33.60.Win64 1CD
- Daum PotPlayer(potplayer播放器)官方正式版V1.7.5545下载 | potplayer 64位
- 使用第三方前端ui框架就是坑,我坚持了7年!
- Mybatis整合SQLite
- 更改checkbox默认样式、radio默认样式,CSS实现自定义
- springboot启动报错:org/springframework/expression/ParserContext
- 送给自己的经典语录
- NO.5 Spring IOC 对象的实例化过程
- java性能监控工具MoSKito学习--综述和说明
- 远程Linux上部署JDK和Tomcat
- test
- php 面试题详解