没有currentSession配置错误,即在我们使用currentSession的时候要在hibernate.cfg.xml中进行相关的事务配置:1、本地事务<property name="hibernate.current_session_context_class">thread</prope ...
分类:
数据库 时间:
2016-08-06 09:47:44
阅读次数:
171
spring方便我们的项目快速搭建,功能强大,自然也会是体系复杂! 这里说下配置文件properties管理的问题。 一些不涉及到代码逻辑,仅仅只是配置数据,可以放在xxxx.properties文件里面,项目功能复杂的时候,往往properties文件很多,这时,就比较容易让人困惑,有些prope ...
分类:
编程语言 时间:
2016-07-13 22:49:48
阅读次数:
220
WPF统一的编程模型、语言和框架,实现了界面设计人员和开发人员工作可以分离的境界,鉴于WPF强大的优势,且一直是开发者关注的地方,下面和大家分享基于WPF项目开发需要用到的第三方控件,包括业界最受好评的网格控件、图表控件、停靠窗口和文本编辑器。 网格控件 1、 Mindscape WPF Prope ...
这个问题是因为部署在tomcat下的项目中没有springweb包 但是问题来了,但是我的项目中有呀,maven都引了呀,然后我就懵B啦!看到这个博客我就豁然开朗了:http://my.oschina.net/u/2538370/blog/538518 (1)应该如下图所示,点击项目右键-prope ...
分类:
编程语言 时间:
2016-07-04 20:35:12
阅读次数:
123
本来想用SVProgressHUD 但是由于这个需求相对要简单 所以自己写了 下面上代码 .h 文件 #import <UIKit/UIKit.h> @interface HaveNoMore : UIView + (instancetype)sharedHaveNoMoreView; @prope ...
分类:
移动开发 时间:
2016-05-08 23:56:37
阅读次数:
297
transition主要是用于一个元素的一种状态到另一种状态的一个过渡的过程,不能够主动触发,必须依赖于事件,例如hover伪类选择器。 一,transition简写 transition:要过渡的属性名称 过渡总时间 过渡模式 要延迟过渡的时间; 1)过渡属性名称 transition-prope ...
分类:
Web程序 时间:
2016-04-27 18:51:44
阅读次数:
3292
const reduce = Function.bind.call(Function.call, Array.prototype.reduce);const isEnumerable = Function.bind.call(Function.call, Object.prototype.prope ...
分类:
其他好文 时间:
2016-04-27 09:34:49
阅读次数:
155
基础信息 1、MenuItem 样式 <Window.Resources> <Style TargetType="{x:Type MenuItem}"> <!--<Setter Property="Background" Value="#999999" />--> <!--<Setter Prope ...
UITableViewAutomaticDimension is the default value for rowHeight, it is useful for understanding what is going on. Setting theestimatedRowHeight prope ...
分类:
其他好文 时间:
2016-03-31 10:47:03
阅读次数:
133
xml解析主要可以使用CData,libxml2以及NSXMLParser,以下对各个方法给出了相应的例子: 1.CDataXML: 1.1.创建FKBook类 #import <Foundation/Foundation.h> @interface FKBook : NSObject @prope ...
分类:
移动开发 时间:
2016-03-30 12:35:33
阅读次数:
244