jdbc.properties#hibernate settings hibernate.show_sql=truehibernate.format_sql=truehibernate.cache.use_query_cache=truehibernate.cache.provider_class=...
分类:
编程语言 时间:
2014-07-07 12:43:02
阅读次数:
184
mvn install 报错Failed to execute goal org.apache.maven.plugins:maven-compiler-plugin:2.3.2 错误: 找不到符号.需要clean后重新install项目可以解决该问题
分类:
其他好文 时间:
2014-07-07 12:31:14
阅读次数:
794
1 public static final FastDateFormat ISO_DATE_FORMAT = FastDateFormat.getInstance("yyyy-MM-dd"); 上面的final 字段代表一个不可变的FastDateFormat,然而要让FastDateFormat....
分类:
其他好文 时间:
2014-07-07 12:23:31
阅读次数:
274
// By using the ColorTranslator you can easily convert color values// definied in the hexadecimal format (like it is used in HTML)Color Color1 = Syste...
分类:
Web程序 时间:
2014-07-07 09:03:31
阅读次数:
217
在项目开发过程中,我们经常要做一些以时间为条件的查询,比如查询指定时间范围内的历史记录,然而这些时间都是从UI传递过来的参数,所以我们写的sql语句就必须用到字符串拼接。当然,在C#中写SQL语句还好处理,可以使用C#的字符串函数做对应的数据类型转换。但是,如果用的是存储过程的话,就有点纠结了。.....
分类:
数据库 时间:
2014-07-03 22:44:00
阅读次数:
353
一、构造方法ControlChart1、前台页面控件赋值//时间下拉框赋值,下拉框赋选定值 for (int ii = DateTime.Today.Year; ii >= 1980; ii--) { string item = string.Format("{0}年", ii.ToString()...
分类:
Web程序 时间:
2014-07-02 19:21:55
阅读次数:
180
#!/usr/bin/env python#coding=utf-8import traceback try: 1/0except Exception, e: print e print traceback.format_exc()
分类:
编程语言 时间:
2014-07-02 17:34:59
阅读次数:
266
#pragma mark 加载xml
- (void)loadXML
{
//获取网络数据。
NSLog(@"load xml");
//从web服务器加载数据
NSString *str = @"http://www.baidu.com?format=xml"; //这里是乱写的
//1简历NSURL
NSURL *url = [NSURL UR...
分类:
移动开发 时间:
2014-07-02 16:41:26
阅读次数:
361
上一篇,咱们总结了下,ansible里的variables,这东西是从哪里来的。楼主举的例子可能都比较白痴,不过重在说明原理和过程,大伙有实际需求的时候,可以弄点高深的玩玩。说过了,variables来自哪里,那variables该咋用呢?说起用,用可以简单的用,也可以复杂的用,简单的用var..
分类:
其他好文 时间:
2014-07-02 11:39:34
阅读次数:
330
1.错误提示:
03-31 16:48:43.740: INFO/ActivityManager(59): Start proc com.android.packageinstaller for activity com.android.packageinstaller/.PackageInstallerActivity: pid=620 uid=10026 gids={}
03-31 16:4...
分类:
移动开发 时间:
2014-07-02 11:13:56
阅读次数:
844