码迷,mamicode.com
首页 >  
搜索关键字:datasource    ( 1515个结果
mybatis简单示例
1、引入mybatis.jar mysql-connector-java-5.1.47.jar 2、新增数据库资源文件datasource.properties 3、新增mybatis.xml 4、新增UserDomain.java 5、新增UserMapper.java 6、新增UserMappe ...
分类:其他好文   时间:2019-03-30 01:12:50    阅读次数:113
C# 中DataGridView 绑定List<T>做数据源的操作问题
若想将 List<T>作为DataGridView的数据源,然后后续还想继续操作的话,需要将List<T>赋值给BindingList对象, 然后直接将BindingList赋值给DataGridView.DataSource, 如此直接操作BindingList对象时,DataGridView的结 ...
分类:Windows程序   时间:2019-03-25 16:18:56    阅读次数:248
cas 持久化TGT到mysql JPA方式 增加自定义字段
springboot2.0配置多数据源:spring.datasource.primary.url=jdbc:mysql://localhost:3306/study?useUnicode=true&characterEncoding=utf-8&useSSL=truespring.datasour ...
分类:数据库   时间:2019-03-19 15:05:08    阅读次数:272
this application was created using the trial version of the xtrareports 解决方法
XtraReport3 xtraReport = new XtraReport3(); var mlc = sp.tiaoma.ToList(); xtraReport.DataSource = mlc; ReportPrintTool tool = new ReportPrintTool(xtra... ...
分类:移动开发   时间:2019-03-19 12:36:12    阅读次数:490
C# WinForm DataGridView让DataPropertyName支持复杂属性
首先给Grid添加BindingSource,类型为BindingForForm2。或者设置Grid的DataSource为IEnumerable<BindingForForm2>。 BindingForForm2类型如下。 public class BindingForForm2 { public ...
分类:Windows程序   时间:2019-03-15 19:34:02    阅读次数:332
SpringBoot配置 druid 数据源配置 慢SQL记录
spring: datasource: url: jdbc:mysql://127.0.0.12:3306/test?autoReconnect=true&useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNul ...
分类:数据库   时间:2019-03-14 16:26:35    阅读次数:1814
基于springboot的多数据源配置
发布时间:2018-12-11 发布时间:2018-12-11 技术:springboot1.5.1 + maven3.0.1+ mybatis-plus-boot-starter2.3.1 + dynamic-datasource-spring-boot-starter2.4.2 + jdk1.8 ...
分类:编程语言   时间:2019-03-09 23:37:51    阅读次数:278
If you want an embedded database (H2, HSQL or Derby), please put it on the classpath.
学习Spring Boot 过程中遇到了下列这个问题 Description: Failed to configure a DataSource: 'url' attribute is not specified and no embedded datasource could be configu ...
分类:数据库   时间:2019-03-07 14:05:57    阅读次数:2838
dataSource
<bean id="dataSource" class="org.apache.commons.dbcp.BasicDataSource"> <!-- 数据源驱动类可不写,Druid默认会自动根据URL识别DriverClass --> <property name="driverClassName ...
分类:其他好文   时间:2019-03-06 10:41:16    阅读次数:150
整合MyBatis
配置数据源相关属性(见前一章节 DataSource配置) 引入依赖 application.properties mybatis-config.xml EmployeeMapper.xml EmployeeMapper接口 使用MapperScan批量扫描所有的Mapper接口 ...
分类:其他好文   时间:2019-02-20 21:22:01    阅读次数:183
1515条   上一页 1 ... 29 30 31 32 33 ... 152 下一页
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!