<?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/MikeDogSong" type="application/rss+xml" rel="self"></atom:link><fs:self_link href="http://feeds.feedsky.com/csdn.net/MikeDogSong" type="application/rss+xml"></fs:self_link><lastBuildDate>Mon, 21 May 2007 23:26:00 GMT</lastBuildDate><title>General Michael</title><link>http://blog.csdn.net/mikedogsong/</link><item><title>我的书</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/05/21/1619982.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1619982.aspx</wfw:comment><slash:comments>1</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1619982.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1619982</trackback:ping><description>书&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1619982.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 22 May 2007 07:26:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/05/21/1619982.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/05/21/1619982.aspx</guid><dc:creator>michael</dc:creator></item><item><title>沉默的羔羊。。。。</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/05/21/1619287.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1619287.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1619287.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1619287</trackback:ping><description>？？？&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1619287.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 21 May 2007 22:23:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/05/21/1619287.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/05/21/1619287.aspx</guid><dc:creator>michael</dc:creator></item><item><title>javax.swing.text</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/05/07/1599057.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1599057.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1599057.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1599057</trackback:ping><description>swing.text学习笔记&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1599057.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 07 May 2007 22:31:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/05/07/1599057.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/05/07/1599057.aspx</guid><dc:creator>michael</dc:creator></item><item><title>数据库查询的设计</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/04/09/1557645.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1557645.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1557645.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1557645</trackback:ping><description>查询的设计方法介绍
大家知道，基本上大部分的业务系统或产品的业务逻辑实现，都可以总结为数据库的CRUD和查询。对于数据库的CRUD操作，这些都在webber.core.frame.db中有体现，这里就不再赘述。下面我想说一下对于数据库查询的设计思路。
举例子仍然使用用户系统，我要实现一个根据用户姓名，账号，年龄段来查询用户信息的查询：
 
按照平时的做法，我们会有这么一个Command：
public class UserCommand extends AbstractCommand 
{
	Adapter adapter = AdapterFactory.createAdapter( “dbName”,true );
	public String processSearch()
	{
		//
		// 获取查询条件
		String name = request.getParameter( “name” );
		String account = request.getParameter( “account” );
		String creationDa&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1557645.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Mon, 09 Apr 2007 22:47:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/04/09/1557645.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/04/09/1557645.aspx</guid><dc:creator>michael</dc:creator></item><item><title>netbeans Explorer API overview</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/04/04/1552172.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1552172.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1552172.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1552172</trackback:ping><description>资源管理器的基础管理功能都在org.openide.explorer.显示节点的属性定义表单在org.openide.explorer.propertysheet.标准的资源管理器视图在org.openide.explorer.view.&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1552172.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 05 Apr 2007 05:28:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/04/04/1552172.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/04/04/1552172.aspx</guid><dc:creator>michael</dc:creator></item><item><title>nb developer faq - What are the basic things I should know about NetBeans' architecture to get started?</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/04/03/1551151.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1551151.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1551151.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1551151</trackback:ping><description>What are the basic things I should know about NetBeans' architecture to get started?

&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1551151.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Wed, 04 Apr 2007 07:02:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/04/03/1551151.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/04/03/1551151.aspx</guid><dc:creator>michael</dc:creator></item><item><title>Cooking with the NetBeans Platform</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/04/02/1549698.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1549698.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1549698.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1549698</trackback:ping><description>Cooking with the NetBeans PlatformBuilding an IDE for Scheme with the NetBeans Platform Antonio Vieiro.&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1549698.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Tue, 03 Apr 2007 03:10:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/04/02/1549698.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/04/02/1549698.aspx</guid><dc:creator>michael</dc:creator></item><item><title>netbeans?</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/03/29/1545840.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1545840.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1545840.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1545840</trackback:ping><description>eclipse用了有一两年,感觉还不错... 为一不好的地方在于插件很多东西还得自己下,有了个myeclipse用的也还可以...可就是感觉慢...尤其是可视化拖动那里...基本上不能用...难道是我的机器配置太烂?netbeans也还可以,&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1545840.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 30 Mar 2007 05:27:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/03/29/1545840.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/03/29/1545840.aspx</guid><dc:creator>michael</dc:creator></item><item><title>some resources of netbeans</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/03/29/1545468.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1545468.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1545468.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1545468</trackback:ping><description>http://netbeans.csdn.net/page/898fcab2-7535-4fcc-ad23-f8b7ee3f1a10&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1545468.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Fri, 30 Mar 2007 00:00:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/03/29/1545468.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/03/29/1545468.aspx</guid><dc:creator>michael</dc:creator></item><item><title>惊诧！！～～</title><link>http://blog.csdn.net/MikeDogSong/archive/2007/03/28/1544466.aspx</link><wfw:comment>http://blog.csdn.net/mikedogsong/comments/1544466.aspx</wfw:comment><slash:comments>0</slash:comments><wfw:commentRss>http://blog.csdn.net/mikedogsong/comments/commentRss/1544466.aspx</wfw:commentRss><trackback:ping>http://tb.blog.csdn.net/TrackBack.aspx?PostId=1544466</trackback:ping><description>会员：MikeDogSong 日点击量：0 您的原创文章：1 月点击量：6 您的转载文章：0 您的翻译文章：0 总点击量：25 隔了半年再来看我的blog，没想到总点击量竟然有25个呢！！！今天去tw笔试,一看题就傻了,又是&quot;逻辑题&quot;,有12个Box,把1 2的结果方到第三个,把第三和第四的数字相加放到第六个,问第六个box中的数字是多少.... 后面还有更复杂的...唉.这已经是第二次碰到这样的笔试了,完了后根本就不奢望能进去了.不过席间发现好像类似于学生的一个人,很得意啊... 好像已经是第二次笔试了... 扫兴啊 郁闷了整整一下午....&lt;img src =&quot;http://blog.csdn.net/mikedogsong/aggbug/1544466.aspx&quot; width = &quot;1&quot; height = &quot;1&quot; /&gt;</description><pubDate>Thu, 29 Mar 2007 05:39:00 +0800</pubDate><author>michael</author><comments>http://blog.csdn.net/MikeDogSong/archive/2007/03/28/1544466.aspx#Feedback</comments><guid isPermaLink="false">http://blog.csdn.net/MikeDogSong/archive/2007/03/28/1544466.aspx</guid><dc:creator>michael</dc:creator></item></channel></rss>