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
转自:http://hi.baidu.com/jasonlyy/item/9ca0cecf2c8f113a99b4981c本文针对 linux 下的 C++ 程序的内存泄漏的检測方法及事实上现进行探讨。当中包含 C++ 中的 new 和 delete 的基本原理,内 存检測子系统的实现原理和详细方法...
分类:
编程语言 时间:
2014-07-07 12:20:23
阅读次数:
217
1、meta标签大多数移动浏览器将HTML页面放大为宽的视图(viewport)以符合屏幕分辨率。你可以使用视图的meta标签来进行重置。下面的视图标签告诉浏览器,使用设备的宽度作为视图宽度并禁止初始的缩放。在标签里加入这个meta标签IE8或者更早的浏览器并不支持Media Query。你可以使用...
分类:
Web程序 时间:
2014-07-07 12:12:20
阅读次数:
190
一.DHCP所需软件包dhcp-common-4.1.1-34.Pl.el6.centos.x86_64dhcp-4.1.1-34.pl.el6.centon.x86_64二.编辑主配置文件```rubyvi/etc/dhcp/dhcpd.confddns-update-style interim;...
分类:
系统相关 时间:
2014-07-07 11:54:03
阅读次数:
216
通用Eclipse自动安装的地址已经有变更:网上搜的地址都是http://erlide.org/update。但是现在这个地址已经失效了。下面的是官网的说明。Install Erlide by going toHelp → Install new software.... In the dialog...
分类:
系统相关 时间:
2014-07-07 11:50:09
阅读次数:
285
PHP 输出json。 $result = mysql_query($sql); //查询结果 $users=array(); $i=0; while($row=mysql_fetch_array($result,MYSQL_ASSOC)){ $users[$i]=$row; $i+...
分类:
编程语言 时间:
2014-07-07 11:12:16
阅读次数:
293
2014-07-02 BaoXinjian一、摘要在PLSQL开发时,有时候会遇到对表中数据的误删除,其实遇到这种情况不需要紧张,如果问题较大,请DBA帮忙,如果只是小问题,只需自己处理,利用flashback闪回操作即可,可可将表进行恢复在删除中数据时,系统会自动记录一个SCN和时间戳,按SCN和...
分类:
数据库 时间:
2014-07-02 17:30:57
阅读次数:
334
1. C++ 没有明确定义如何释放指向不是用new 分配的内存地址的指针。下面提供了一些安全的和不安全的delete expressions 表达式。
int i; 242
int *pi = &i;
string str ="dwarves";
double *pd = newdouble(33);
delete str; // error: str is n...
分类:
编程语言 时间:
2014-07-02 16:36:12
阅读次数:
225
一.DHCP所需软件包dhcp-common-4.1.1-34.Pl.el6.centos.x86_64dhcp-4.1.1-34.pl.el6.centon.x86_64二.编辑主配置文件vi/etc/dhcp/dhcpd.conf
ddns-update-styleinterim;
ignoreclient-updates;
shared-networkifs{
optiondomain-name"ifs.com";
optiondomain-name-servers192.1..
分类:
系统相关 时间:
2014-07-02 15:36:32
阅读次数:
276
用mybatis在mysql中保存字段精确到秒需要两个步骤。
1、现在mysql中将时间字段改为datetime 例如:alter table tablename add pay_date
datetime comment '精确到秒的时间'
2、在sql语句中直接用now(). 例如: update tj_record set is_customerHandove...
分类:
数据库 时间:
2014-07-02 15:15:37
阅读次数:
300