码迷,mamicode.com
首页 >  
搜索关键字:log 回滚    ( 96754个结果
log4j日志等级
1.logger.debug("Debug ...")或logger.info("Info ...")或logger.warn("Warn ...")或logger.error("Error ...") 都只输出对应的信息,即logger.debug只输出debug的信息,info只输出info的信...
分类:其他好文   时间:2014-04-30 20:41:18    阅读次数:704
流程实例
1 package com.kite.pi; 2 3 import java.util.List; 4 5 import org.jbpm.api.Configuration; 6 import org.jbpm.api.ProcessInstance; 7 import org...
分类:其他好文   时间:2014-04-30 20:38:40    阅读次数:514
Android使用AndEngine创建第一个程序
首先要把andengine.jar复制到libs文件夹里01package com.hu.anden;0203import org.anddev.andengine.engine.Engine;04import org.anddev.andengine.engine.camera.Camera;05...
分类:移动开发   时间:2014-04-30 20:37:13    阅读次数:527
UVA 10891 Game of Sum(DP)
This is a two player game. Initially there areninteger numbers in an array and playersAandBget chance to take them alternatively. Each player can take...
分类:其他好文   时间:2014-04-30 20:34:38    阅读次数:519
unity3d中的Viewport
Camera属性中有个Viewport Rect,如下图:X、Y为(0, 0)代表左下角,(1, 1)代表右上角;W和H分别是Viewport的宽(Width)和高(Height),摄像机的Aspect参数(下一段提到)由W、H以及窗口的长宽比共同决定。通过设置这4个参数以及深度(Depth),可以...
分类:其他好文   时间:2014-04-30 20:33:13    阅读次数:514
Mysql中的char与varchar length()与char_length()
在mysql中,char和varchar都表示字符串类型.但他们存储和检索数据的方式并不相同.在表结构定义中声明char和varchar类型时,必须指定字符串的长度.也就是该列所能存储多少个字符(不是字节,是字符).例如:char(10)和varchar(10)都能存储10个字符.声明为char的列...
分类:数据库   时间:2014-04-30 20:31:47    阅读次数:459
Cakephp 创建无模型的Controller
控制器(Controller)如果没有特定的表/模型关联的话,哪怕建测试都会出错,但你可以加一行到控制器(Controller)里就好了public $uses=array(); 或者 public $uses=false;2.4以上版本的好像默认可以支持了
分类:Web程序   时间:2014-04-30 20:29:17    阅读次数:407
Gold mining in South Africa
A quarry operator in the Libyan needed to expand their crushing and screening plant in order to cope with an increase in chip and sand demand from the...
分类:其他好文   时间:2014-04-30 20:26:27    阅读次数:646
Ruby:Mechanize的使用教程
小技巧puts Mechanize::AGENT_ALIASES 可以打印出所有可用的user_agentputs Mechanize.instance_methods(false) 输出Mechanize模块的所有方法puts Mechanize.instance_methods() 输出Mech...
分类:其他好文   时间:2014-04-30 20:22:18    阅读次数:453
C# ?(问号)的三个用处
public DateTime? StatusDateTime = null;脑子便也出现个问号,这是什么意思呢?网上搜下,总结如下:1. 可空类型修饰符(?):引用类型可以使用空引用表示一个不存在的值,而值类型通常不能表示为空。例如:string str=null; 是正确的,int i=null...
分类:其他好文   时间:2014-04-30 20:16:58    阅读次数:474
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!