
Spring
文章平均质量分 51
flyingZippo
菜鸟一只
展开
-
【Spring】学习点滴
1、配置sessionFactory中的ORM映射关系时的三种方式。<bean id="sessionFactory" class="org.springframework.orm.hibernate3.annotation.AnnotationSessionFactoryBean"> com/test/bean/LoginParam.hb原创 2014-03-12 19:38:57 · 610 阅读 · 0 评论 -
【单例】之延迟加载实现方式
众所周知,spring中可以通过原创 2014-04-07 21:48:58 · 834 阅读 · 0 评论 -
SPRING接收前台传入List时,超过256报IndexOutOfBoundsException异常
首先看看异常org.springframework.beans.InvalidPropertyException: Invalid property 'detail[256]' of bean class [com.suning.asvp.mer.entity.InviteCooperationInfo]: Index of out of bounds in property path 'de原创 2015-08-10 16:34:29 · 9299 阅读 · 3 评论 -
主动获取spring容器工具类SpringContextUtil
/** * 获取spring容器,以访问容器中定义的其他bean */@Componentpublic class SpringContextUtil implements ApplicationContextAware { // Spring应用上下文环境 @Autowired private ApplicationContext applicationCont原创 2016-06-13 17:55:03 · 8743 阅读 · 2 评论