<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[shalocfolmosgmail的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/shalocfolmosgmail</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; shalocfolmosgmail]]></copyright><item><title><![CDATA[Oracle面试题]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5904964</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5904964</guid><author>shalocfolmosgmail</author><pubDate>Sat, 25 Sep 2010 13:50:00 +0800</pubDate><description><![CDATA[<br />transcate 和 delete区别<br />trancate不能回滚，delete可以回滚,trancat速度快，适用于数据量大。delte速度慢]]></description><category></category></item><item><title><![CDATA[Template模式和策略模式区别，就是组合和继承区别]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5901639</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5901639</guid><author>shalocfolmosgmail</author><pubDate>Thu, 23 Sep 2010 10:45:00 +0800</pubDate><description><![CDATA[1 继承破坏封装2 如果想抽取公共行为，只改变一部分的行为，而且公公行为长期不变的情况下使用模板3 要经常改变整个行为用strategy]]></description><category></category></item><item><title><![CDATA[PreparedStatement和Statement区别]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5884387</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5884387</guid><author>shalocfolmosgmail</author><pubDate>Tue, 14 Sep 2010 20:07:00 +0800</pubDate><description><![CDATA[1 PreparedStatement是预编译,数据库访问效率高，但是系统运行时间长2 PreparedStatement在相同句法的SQL语句要运行多次的时候，效率比Statement要高3 PreparedStatement是可以传参的，以为着一条语句可以在多个参数中使用4 安全性，PreparedStatement参数会被强制类型转换]]></description><category></category></item><item><title><![CDATA[集合]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5850145</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5850145</guid><author>shalocfolmosgmail</author><pubDate>Mon, 30 Aug 2010 16:45:00 +0800</pubDate><description><![CDATA[<br />LinkedList 继承Queue可以用作队列 Queue<String> q = new LinkedList<String>()<br />TreeSet是用来排序的，他的唯一实现是SortedSet]]></description><category></category></item><item><title><![CDATA[Grails ＆Install-J]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5831261</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5831261</guid><author>shalocfolmosgmail</author><pubDate>Mon, 23 Aug 2010 10:30:00 +0800</pubDate><description><![CDATA[在intelli-j设置ClassProject-structure  Libraries加入grails 库]]></description><category></category></item><item><title><![CDATA[枚举]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5770793</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5770793</guid><author>shalocfolmosgmail</author><pubDate>Wed, 28 Jul 2010 11:29:00 +0800</pubDate><description><![CDATA[枚举可以有构造函数public enum Brand {
    A("a"), B("b"), C("c");
    private final String token;
    Brand(String a) {
        this.token = a;
    }
    public String getToken() {
        return this.token;
    }
}EnumSet 将一个枚举内列出的所有枚举转换成setEnumSet.allOf(]]></description><category></category></item><item><title><![CDATA[Hibernate 三种状态的区分，以及save,update,saveOrUpdate,merge等的使用]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5769658</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5769658</guid><author>shalocfolmosgmail</author><pubDate>Tue, 27 Jul 2010 18:28:00 +0800</pubDate><description><![CDATA[
(1)当通过get或load方法得到的po对象它们都处于persistent,但如果执行delete(po)时(但不能执行事务),该po状态就处
于detached, (表示和session脱离关联),因delete而变成游离态可以通过save或saveOrUpdate()变成持久态
(2)当把session关闭时，session缓存中的persistent的po对象也变成detached
因关闭session而变成游离态的可以通过lock、save、update变成持久态
持久态实例可以通过调]]></description><category></category></item><item><title><![CDATA[EJB]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5754912</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5754912</guid><author>shalocfolmosgmail</author><pubDate>Thu, 22 Jul 2010 11:55:00 +0800</pubDate><description><![CDATA[<br />SessionBean 生命周期·@PostConstruct：当bean对象完成实例化后，使用了这个注释的方法会被立即调用。这个注释同时适用于有状态和无状态的会话bean。 ·@PreDestroy：
使用这个注释的方法会在容器从它的对象池中销毁一个无用的或者过期的bean
 实例之前调用。这个注释同时适用于有状态和无状态的会话bean。 ·@PrePassivate：当一个stateful session 
bean 实例空闲过长的时间，容器将会钝化(passivate)它，并把它的状]]></description><category></category></item><item><title><![CDATA[Magento]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5528879</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5528879</guid><author>shalocfolmosgmail</author><pubDate>Mon, 26 Apr 2010 10:31:00 +0800</pubDate><description><![CDATA[[{widget type="enterprise_catalogevent/widget_lister" limit="5" scroll="2" width="30" template="catalogevent/widget/indexlister.phtml"}]]]></description><category></category></item><item><title><![CDATA[IPHONE Disk]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5033235</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5033235</guid><author>shalocfolmosgmail</author><pubDate>Fri, 18 Dec 2009 16:54:00 +0800</pubDate><description><![CDATA[NSString *sizeType; float availableDisk; NSArray *paths = NSSearchPathForDirectoriesInDomains(NSDocumentDirectory, NSUserDomainMask, YES); struct statfs tStats; sta]]></description><category></category></item><item><title><![CDATA[OPENGL ES]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5030240</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5030240</guid><author>shalocfolmosgmail</author><pubDate>Fri, 18 Dec 2009 10:56:00 +0800</pubDate><description><![CDATA[1 Generate object identifier(specify object), does not actually allocate an object2 Bind object to context, actually allocate an object3 Modify object4 Render object5 Delete object IPHONE ]]></description><category></category></item><item><title><![CDATA[IPHONE note]]></title><link>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5029466</link><guid>https://blog.youkuaiyun.com/shalocfolmosgmail/article/details/5029466</guid><author>shalocfolmosgmail</author><pubDate>Fri, 18 Dec 2009 09:22:00 +0800</pubDate><description><![CDATA[TableViewController:  1 disable selected:willSelectedRowAtIndex:(NSIndexPath *)index{ return nil; }   2 TableView can custom itstitle foot   3 Adding float title effect:titleForHeaderInSe]]></description><category></category></item></channel></rss>