10 2015 档案
摘要:记录下The CHECK_POLICY and CHECK_EXPIRATION options cannot be turned OFF when MUST_CHANGE is ON. (Microsoft SQL Server, Error: 15128)Problem: Recently on...
阅读全文
摘要:XML新增声明式事务配置 Service方法使用@Transactional标注:@Transactional public void changeAge(String fromUser, String toUser, int age) { ...
阅读全文
摘要:applicationContext.xml 1 2 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 3...
阅读全文
摘要:Sublime SASS语法高亮插件下载地址:https://github.com/kuroir/SCSS.tmbundle/zipball/SublimeText2koala_2.0.4_setup.exe 下载地址:http://pan.baidu.com/s/1o6ktn5o测试代码(参考阮一...
阅读全文
摘要:package cn.byref.demo.logging;import org.apache.commons.logging.Log;import org.apache.commons.logging.LogFactory;public class CommonLoggingTest { p...
阅读全文
摘要:mysql表:DROP TABLE IF EXISTS `test`;CREATE TABLE `test` ( `id` int(11) NOT NULL AUTO_INCREMENT, `username` varchar(255) DEFAULT NULL, `age` int(11) ...
阅读全文
摘要:BEGIN DECLARE startIndex int; select COUNT(*) INTO RecordCount from test; SET startIndex = (PageIndex - 1) * PageSize; SELECT * FROM test ORDER BY id...
阅读全文
摘要://MySQL Date类型 -> java.sql.Datejava.sql.Date d = new java.sql.Date(Calendar.getInstance().getTime().getTime());//MySQL Time类型-> java.sql.TimeTime t = ...
阅读全文
摘要:配置文件: 异步操作的连接字符串要加入:Asynchronous Processing=true;MultipleActiveResultSets=true测试代码:using System;using System.Collections.Generic;using ...
阅读全文