code mapping proc var result = session.CreateSQLQuery("exec GetMemberGameActivity :mToken, :StartDate, :EndDate") .SetResultTransformer(Transformers.A ...
分类:
Web程序 时间:
2017-06-23 23:00:29
阅读次数:
238
Plugins 摘一段来自MyBatis官方文档的文字。 MyBatis允许你在某一点拦截已映射语句执行的调用。默认情况下,MyBatis允许使用插件来拦截方法调用: Executor(update、query、flushStatements、commint、rollback、getTransact ...
分类:
数据库 时间:
2017-06-23 19:33:09
阅读次数:
259
一、索引中包含like关键字 在索引列上使用like该列会不会使用到索引? 在联合索引上前面索引字段使用like之后后面的列上会不会用到索引? 如果索引字段上使用 like '%xxx',这种不会用到索引,后面的索引也不会用到,如果格式为 like 'xxx%',这种可以用到索引,而且不影响后面的索 ...
分类:
其他好文 时间:
2017-06-23 19:25:42
阅读次数:
109
#abs(x) 参数:x - - 数字表达式 返回值:数字 作用: 返回 x 对应数字的绝对值#列:# print(abs(-2))# all(iterable) 参数:iterable - - 元祖或者列表 返回值:boolean 作用:如果iterable 的所有元素不为0 就返回true 否则 ...
分类:
编程语言 时间:
2017-06-23 15:34:34
阅读次数:
162
Windows: List<String> tasklist=new ArrayList<String>(); try { Process process = Runtime.getRuntime().exec(cmdstr); BufferedReader br = new BufferedRea ...
-- 开启远程选项 exec sp_configure 'show advanced options',1 reconfigure exec sp_configure 'Ad Hoc Distributed Queries',1 reconfigure -- 方法1: SELECT top 5 * ... ...
分类:
数据库 时间:
2017-06-22 22:21:45
阅读次数:
224
例如: #!/bin/bash LOG="examples/mnist/lenet_log_mylog"exec &> >(tee -a "$LOG")echo Logging output to "$LOG" ./build/tools/caffe train --solver=examples/ ...
分类:
系统相关 时间:
2017-06-22 18:29:23
阅读次数:
215
--1调用存储过程 exec 存储过程名 参数 --2当表使用 select a.*,b.* from tb b inner join ( select * from openrowset('sqloledb','ip/server';'sa';'pwd','exec 库.dbo.存储过程'))a ...
分类:
数据库 时间:
2017-06-22 12:16:06
阅读次数:
212
Request execution build request process response message headers process entries ensure release resource Exception Handling ...
分类:
Web程序 时间:
2017-06-21 18:25:14
阅读次数:
175
发现ProcessInstance 有个方法getBusinessKey()可以得到一个businessKey。 ProcessInstance 对应数据库中的表act_ru_execution有个字段BUSINESS_KEY_对应类中的businessKey,这个字段在创建表时自动被设置为uniq ...
分类:
其他好文 时间:
2017-06-21 14:14:03
阅读次数:
211