<?xml version="1.0" encoding="utf-8"?><?xml-stylesheet href='http://feeds.feedsky.com/styles/temp01.xsl' type='text/xsl' ?><!--这是一个由Feedsy提供技术支持的Feed，为了提高读者阅读的体验，以及满足用户美化自己Feed的需要，我们设计了多种精美的Feed模板，提供给大家选择，所有最终呈现出来的样式，皆由用户自愿选择使用，未经许可，任何团体和个人，请不要擅自修改样式或者盗用，这是对于用户选择权的尊重。--><rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:fs="http://www.feedsky.com/namespace/feed" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:trackback="http://madskills.com/public/xml/rss/module/trackback/" xmlns:dc="http://purl.org/dc/elements/1.1/" version="2.0"><channel><atom:link href="http://feeds.feedsky.com/csdn.net/zengbo0710" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/zengbo0710" type="application/rss+xml"></fs:self_link><lastBuildDate>Fri, 07 Nov 2008 15:57:00 GMT</lastBuildDate><title>Brian@CSDN</title><description>Be good,Do right</description><link>http://blog.csdn.net/zengbo0710/</link><item><title>Spring嵌套事务的两种事务管理配置方式</title><link>http://blog.csdn.net/zengbo0710/archive/2008/11/07/3247450.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/3247450.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/3247450.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3247450</trackback:ping><description>由于系统涉及业务太多，数据管理方面也相当复杂，用Spring实现事务管理的时候，如果采用默认的方式，单独给每个业务的 Service 配置代理 Proxy，务必会使配置工作很繁重，但是使用自动配置事务机制以后，一切工作都会很轻松，包括嵌套事务的实现，也相当轻松，网上流动许多关于Spring事务配置的帖子，但是都很不完全，缺东少西，也给许多爱好者带来不便，下面将这两天的调试结果写下，希望对朋友们有所帮助！首先，本系统采用的是 业务和事务的并行方式，也就是说 根据现实中的业务来决定事务的大小，尽最大可能避免事务嵌套，但是为了考虑系统的稳定性，把事务配置为支持嵌套的方式！缺点：测试代码由于只是对spring的事务进行测试，所以异常没有特别处理，包括其他的代码，都是个人在私下编写，仅供朋友们参考！测试设计：1：业务接口：package ioc;public interface CategoryService{ public void save(Param&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/3247450.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 07 Nov 2008 23:57:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/11/07/3247450.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/11/07/3247450.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>Spring嵌套事务</title><link>http://blog.csdn.net/zengbo0710/archive/2008/11/07/3246310.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/3246310.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/3246310.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=3246310</trackback:ping><description>在所有使用 spring 的应用中, 声明式事务管理可能是使用率最高的功能了, 但是, 从我观察到的情况看, &lt;br /&gt;绝大多数人并不能深刻理解事务声明中不同事务传播属性配置的的含义, 让我们来看一下 TransactionDefinition 接口中的定义 
代码/**        * Support a current transaction, create a new one if none exists.        * Analogous to EJB transaction attribute of the same name.        * &lt;br /&gt;This is typically the default setting of a transaction definition.        */       int PROPAGATION_REQUIRED = 0;         /**        * Support a current transaction, execute non-transactionally if none exists.  &lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/3246310.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 07 Nov 2008 21:59:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/11/07/3246310.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/11/07/3246310.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>解决HIbernate分页问题获取表总行数的小Bug</title><link>http://blog.csdn.net/zengbo0710/archive/2008/08/22/2812075.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2812075.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2812075.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2812075</trackback:ping><description>今天上午回来设计了一点新闻发布系统周边的功能，并实现了对新闻进行重新索引的功能。&lt;br /&gt;但同时在列出相关新闻的时候遇到了麻烦。就是原本运行好好的分页查询代码，居然有个小虫子跑出来，&lt;br /&gt;很是令人不爽。说来也惭愧，Hibernate也用了那么长时间了。可对底层API却很不属性。&lt;br /&gt;查了下网络，把自己的一知半解说出来。&lt;br /&gt;&lt;br /&gt;bug起源。&lt;br /&gt;看看代码：&lt;br /&gt;&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2812075.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 22 Aug 2008 17:38:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/08/22/2812075.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/08/22/2812075.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>hibernate</title><link>http://blog.csdn.net/zengbo0710/archive/2008/08/22/2811921.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2811921.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2811921.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2811921</trackback:ping><description>具有一个直观的、可扩展的条件查询API是Hibernate的特色。      #      # 15.1. 创建一个Criteria 实例     # org.hibernate.Criteria接口表示特定持久类的一个查询。Session是 Criteria实例的工厂。      #      # Cri&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2811921.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 22 Aug 2008 17:17:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/08/22/2811921.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/08/22/2811921.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>BeanUtils.copyProperties 与 PropertyUtils.copyProperties 用法及区别</title><link>http://blog.csdn.net/zengbo0710/archive/2008/04/25/2327979.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2327979.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2327979.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2327979</trackback:ping><description>一、简介：BeanUtils提供对 Java反射和自省API的包装。其主要目的是利用反射机制对JavaBean的属性进行处理。我们知道，一个JavaBean通常包含了大量的属性，很多情况下，对JavaBean的处理导致大量get/set代码堆积，增加了代码长度和阅读代码的难度。二、用法：BeanUtils是这个包里比较常用的一个工具类，这里只介绍它的copyProperties()方法。该方法定义如下：public static void copyProperties(java.lang.Object dest,java.lang.Object orig)  throws java.lang.IllegalAccessException,         java.lang.reflect.InvocationTargetException如果你有两个具有很多相同属性的JavaBean，一个很常见的情况就是Struts里的PO&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2327979.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 26 Apr 2008 00:07:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/04/25/2327979.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/04/25/2327979.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>连接池JAVA实现</title><link>http://blog.csdn.net/zengbo0710/archive/2008/04/17/2300784.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2300784.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2300784.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2300784</trackback:ping><description>连接池JAVA实现&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2300784.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 17 Apr 2008 22:22:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/04/17/2300784.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/04/17/2300784.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>SQL Server三种导入导出数据方式比较</title><link>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2282589.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2282589.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2282589.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2282589</trackback:ping><description>SQL Server三种导入导出数据方式比较&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2282589.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Sat, 12 Apr 2008 00:10:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2282589.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/04/11/2282589.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>学习一下ibatis</title><link>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281123.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2281123.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2281123.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2281123</trackback:ping><description>学习一下ibatis &lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2281123.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 11 Apr 2008 18:26:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281123.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281123.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>Hibernate+ehcache二级缓存技术</title><link>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281119.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2281119.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2281119.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2281119</trackback:ping><description>Hibernate+ehcache二级缓存技术&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2281119.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 11 Apr 2008 18:24:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281119.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281119.aspx</guid><dc:creator>zengbo</dc:creator></item><item><title>浅谈hibernate性能优化的几点建议</title><link>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281067.aspx</link><wfw:comment>http://blog.csdn.net/zengbo0710/comments/2281067.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/zengbo0710/comments/commentRss/2281067.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=2281067</trackback:ping><description>浅谈hibernate性能优化的几点建议&lt;img src =&quot;http://blog.csdn.net/zengbo0710/aggbug/2281067.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 11 Apr 2008 18:17:00 +0800</pubDate><author>zengbo</author><comments>http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281067.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/zengbo0710/archive/2008/04/11/2281067.aspx</guid><dc:creator>zengbo</dc:creator></item></channel></rss>