2017年10月7日

spring boot 不使用@Transactional 配置事务和PageHelper分页

摘要: @Configuration @PropertySource(value = "classpath:db.properties") public class DatabaseConfiguration implements EnvironmentAware { private RelaxedPropertyResolver propertyResolver; private st... 阅读全文

posted @ 2017-10-07 22:20 无法显示此网页 阅读(936) 评论(0) 推荐(0) 编辑

2017年5月2日

jstl嵌套以及输出json的逗号

摘要: <script type="application/javascript"> var map = { <c:forEach items="${configFiles}" var="c" varStatus="loop"> "${c.name}": [ <c:forEach items="${c.se 阅读全文

posted @ 2017-05-02 18:11 无法显示此网页 阅读(333) 评论(0) 推荐(0) 编辑

2016年10月5日

关闭win10 更新以后自动重启

摘要: 计算机管理-》计划任务-》microsoft-》windows-》updateOrchestrator 禁用reboot 1、在Cortana搜索栏输入“组策略”后回车 2、找到 计算机配置→管理模板→Windows组件→Windows更新,具体操作如下:点击计算机配置 点击管理模板 点击Windo 阅读全文

posted @ 2016-10-05 00:33 无法显示此网页 阅读(237) 评论(0) 推荐(0) 编辑

2015年12月12日

maven 配置错误。

摘要: 提示路径错误-Dmaven.multiModuleProjectDirectory system propery is not set.file settings-> Build, Execution, Deployment->Build Tools->Maven ->RunnerVM Option... 阅读全文

posted @ 2015-12-12 23:53 无法显示此网页 阅读(246) 评论(0) 推荐(0) 编辑

2015年6月3日

SQL SERVER 订阅发布在restore DB以后的问题

摘要: http://blogs.msdn.com/b/repltalk/archive/2010/02/19/the-process-could-not-execute-sp-repldone-sp-replcounters.aspxcould not execute 'sp_repldone/sp_re... 阅读全文

posted @ 2015-06-03 16:47 无法显示此网页 阅读(191) 评论(0) 推荐(0) 编辑

2015年5月4日

Unable to convert MySQL date/time value to System.DateTime

摘要: Server={0};Database=db;Uid=test;Pwd=nopass.2;Port={1};Allow Zero Datetime=True;Convert Zero Datetime=True 阅读全文

posted @ 2015-05-04 21:35 无法显示此网页 阅读(153) 评论(0) 推荐(0) 编辑

2015年4月9日

sql server恢复卡在restoring的解决方法

摘要: select state_desc,name,user_access_desc from sys.databases where name='db'RESTORE DATABASE DB WITH RECOVERY然后该回读属性Alter Database promotiondb SET MULTI... 阅读全文

posted @ 2015-04-09 16:08 无法显示此网页 阅读(864) 评论(0) 推荐(0) 编辑

2015年2月4日

打开Excel时总是运行Windows Installer(Visual studio)解决方法

摘要: 问题描述:安装完Microsoft Visual Studio 2010 Ultimate之后,打开Excel时,总是出现"Windows 正在配置Microsoft Visual Studio 2010 Ultimate - CHS,请稍候...",点击取消按钮之后可以打开Excel。解决方法:打... 阅读全文

posted @ 2015-02-04 13:19 无法显示此网页 阅读(1809) 评论(0) 推荐(0) 编辑

2014年12月2日

单元测试用excel connstr

摘要: [TestMethod()] [DeploymentItem("test.xlsx")] [DataSource("System.Data.Odbc", @"Dsn=Excel Files;Driver=Microsoft Excel Driver (*.xlsx)};... 阅读全文

posted @ 2014-12-02 21:17 无法显示此网页 阅读(186) 评论(0) 推荐(0) 编辑

2013年5月6日

pop读取邮件头乱码

摘要: 有的邮件内容是base64编码的。 需要手动解码。string patten = @"\=\?(?<Encoding>.*?)\?(?<Base>\D+?)\?(?<Content>.*?)\?\="; var m = Regex.Match(line, patten); if (m.Success) { string codeName = m.Groups["Encoding"].Value; ... 阅读全文

posted @ 2013-05-06 16:54 无法显示此网页 阅读(362) 评论(0) 推荐(0) 编辑

导航