Ubiquitous ConnectivityOne of the mosttransformative technology trends of the past decade is the availability and growing expectation of ubiquitous co...
分类:
Web程序 时间:
2014-11-20 18:34:30
阅读次数:
270
0.准备工作0.1 git安装http://git-scm.com/download/图形客户端建议使用source tree,中文界面http://www.sourcetreeapp.com/0.3 git帮助信息git helpgit help 指令名称0.4 git配置显示配置信息git co...
分类:
其他好文 时间:
2014-11-20 14:53:51
阅读次数:
292
第一种:低效率实现 这种实现方法,优点是实现简单,缺点是在多线程频繁访问下效率比较低,经常出现锁竞争。适应于不需要频繁访问实例的情况下。 class Singleton
{
public: static Singleton* GetInstance() { AutoLock lock(mutex);...
分类:
其他好文 时间:
2014-11-19 21:57:09
阅读次数:
233
第一种:低效率实现 这种实现方法,优点是实现简单,缺点是在多线程频繁访问下效率比较低,经常出现锁竞争。适应于不需要频繁访问实例的情况下。 class Singleton
{
public: static Singleton* GetInstance() { AutoLock lock(mutex);...
分类:
其他好文 时间:
2014-11-19 21:48:46
阅读次数:
254
系统为SpringMVC框架,在开发的过程中有一些工具类需要调用下由spring管理的service层。但是一进注入不进来,报null异常; 在尝试了网上的一系列方法后,还是没有解决。网上的解决方法主要有以下几种: 1、将工具类申明为spring组件,如@controller @co...
分类:
编程语言 时间:
2014-11-19 20:04:54
阅读次数:
723
(1). There is a natural isomorphism between the spaces $\scrH\otimes \scrH^*$ and $\scrL(\scrH,\scrK)$ in which the elementary tensor $k\otimes h^*$co...
分类:
其他好文 时间:
2014-11-19 18:05:06
阅读次数:
326
centos yum 错误 Error: Cannot find a valid baseurl for repo: addons 装了个CentOS 6.5,使用yum时出现了下面的错误提示。
[root@localhost ~]# yum install lrzsz
Loaded plugins: fastestmirror
Determining fastest mirrors
Co...
分类:
Web程序 时间:
2014-11-19 16:07:35
阅读次数:
223
var tempColumn = {display:'总计',columns:[ {display:'确认量合计', name:'CONFIRMNUM_SUM', width:80, render:f_nullValueRender}, {display:'确认金额合计', name:'CO...
分类:
其他好文 时间:
2014-11-19 15:50:38
阅读次数:
269
关于死锁:sp_who active –看看哪个引起的死锁, blk里面即阻塞的spid;dbcc inputbuffer(@blk) — 可以查看是那个sql语句造成的死锁;sp_lock –看看锁住了那个资源,objid即被锁住的资源id;select object_name(objid) 可得...
分类:
数据库 时间:
2014-11-19 12:25:36
阅读次数:
203
试过了很多种方法都没有成功,终于让我找到了这种方法!
首先在后台写代码:
Transaction tx = session.beginTransaction();
List list = session.createSQLQuery("select * from jike").list();
tx.commit();
List list1 = new ArrayList();
Iter...
分类:
数据库 时间:
2014-11-19 11:12:58
阅读次数:
165