2014年3月18日

摘要: 相关资料:XMPP官网http://xmpp.org/xmpp-software/libraries/nginx的转发配置http://mineral.iteye.com/blog/448260XMPP的xml格式http://seong.iteye.com/blog/1871338IBM关于XMPP的讲解https://www.ibm.com/developerworks/cn/xml/tutorials/x-realtimeXMPPtut/1. XMPP eXtensible Messaging and Presence Protocol 可扩展消息处理和现场协议,用于在2个地点之间传递. 阅读全文
posted @ 2014-03-18 22:21 timelyxyz 阅读(2249) 评论(0) 推荐(0)
摘要: 环境:Oracle Java 7 , Mac OSX报错如上图所示,主要是 Caused by: java.lang.ClassFormatError: StackMapTable format error: bad offset for Uninitialized in method...找了半天,发现原因是我在调用一个有参构造函数时,传递的一个参数用了三元运算符。// 解决方案就是把三元运算符去掉,在传参之前用一个变量替换掉就好。new ContactVO(receiverId, conversationId, messageId, null == unReadCount ? 0l : u 阅读全文
posted @ 2014-03-18 22:08 timelyxyz 阅读(1424) 评论(0) 推荐(0)
摘要: ####hibernate原话HQL supports subqueries in the where clause. We can’t think of many good uses for subqueries in the from clause, although select clause subqueries might be a nice future extension.####hibernate的子查询只允许where中使用,不允许在from后面使用。 阅读全文
posted @ 2014-03-18 19:15 timelyxyz 阅读(195) 评论(0) 推荐(0)

导航