上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 37 下一页
摘要: 问题 ,spring 和 hibernate 整合 如何整合 1. Spring 使用Hibernate的的SessionFactory 2. Hibernate使用Spring提供的声明式事务 阅读全文
posted @ 2018-06-12 08:44 梦见舟 阅读(79) 评论(0) 推荐(0) 编辑
摘要: @Transactional属性 1. propagation 事物的传播属性 2. isolation 事物的隔离属性 3. readonly 设置只读属性 4. timeout 设置超时属性 5. rollbackfor 回滚属性 阅读全文
posted @ 2018-06-12 08:40 梦见舟 阅读(93) 评论(0) 推荐(0) 编辑
摘要: <!-- 配置 Spring 的声明式事务 --> <!-- 1. 配置事务管理器 --> <bean id="transactionManager" class="org.springframework.orm.hibernate4.HibernateTransactionManager"> <p 阅读全文
posted @ 2018-06-12 08:04 梦见舟 阅读(116) 评论(0) 推荐(0) 编辑
摘要: 1. 配置事物管理器 2. 启用事物的注解 3. 事物的传播属性 4. 事物的隔离级别 阅读全文
posted @ 2018-06-08 09:00 梦见舟 阅读(188) 评论(0) 推荐(0) 编辑
摘要: OrderStatusCodeType @XmlEnumValue("Active") @XmlEnumValue("Inactive") @XmlEnumValue("Completed") @XmlEnumValue("Cancelled") @XmlEnumValue("Shipped") @XmlEnumValue("Default") @XmlEnumValue("Authentic... 阅读全文
posted @ 2018-06-07 15:54 梦见舟 阅读(128) 评论(0) 推荐(0) 编辑
摘要: Integer totalOrderItemNum = ebayTransactionList.stream().map(EbayTransaction::getQuantity).reduce(new Integer(0),(a,b)->a+b); 阅读全文
posted @ 2018-06-07 15:31 梦见舟 阅读(89) 评论(0) 推荐(0) 编辑
摘要: TwitterInc 200 User License EA7E-890007 1D77F72E 390CDD93 4DCBA022 FAF60790 61AA12C0 A37081C5 D0316412 4584D136 94D7F7D4 95BC8C1C 527DA828 560BB037 D1EDDD8C AE7B379F 50C9D69D B35179EF 2... 阅读全文
posted @ 2018-06-07 12:01 梦见舟 阅读(88) 评论(0) 推荐(0) 编辑
只有注册用户登录后才能阅读该文。 阅读全文
posted @ 2018-06-07 11:45 梦见舟 阅读(1) 评论(0) 推荐(0) 编辑
摘要: ExecutorService executor = Executors.newCachedThreadPool(); for(int i=0;i{ try { doSomething(tempOrdersIds); } catch (Exception ex) { ex.printStackTrace(); } }); }... 阅读全文
posted @ 2018-06-07 10:52 梦见舟 阅读(52) 评论(0) 推荐(0) 编辑
摘要: AOP xml形式的配置 阅读全文
posted @ 2018-06-06 09:27 梦见舟 阅读(149) 评论(0) 推荐(0) 编辑
上一页 1 ··· 6 7 8 9 10 11 12 13 14 ··· 37 下一页