<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[cxfking的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/cxfking</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; cxfking]]></copyright><item><title><![CDATA[ibatis的配置与使用]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7320926</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7320926</guid><author>cxfking</author><pubDate>Mon, 05 Mar 2012 14:51:30 +0800</pubDate><description><![CDATA[使用ibatis的理由：
 
1. 知道怎样操作10种以上的数据库
2. 可配置的caching(包括从属)
3. 支持DataSource、local transaction managemen和global transaction
4. 简单的XML配置文档
5. 支持Map, Collection, List和简单类型包装(如Integer, String)
6. 支持Java]]></description><category></category></item><item><title><![CDATA[JPA注解]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7305977</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7305977</guid><author>cxfking</author><pubDate>Mon, 05 Mar 2012 14:43:40 +0800</pubDate><description><![CDATA[1、@Entity(name="EntityName") 

     必须,name为可选,对应数据库中一的个表 

2、@Table(name="",catalog="",schema="") 

     可选,通常和@Entity配合使用,只能标注在实体的class定义处,表示实体对应的数据库表的信息

name:可选,表示表的名称.默认地,表名和实体名称一致,只有在不一致]]></description><category></category></item><item><title><![CDATA[ibatis持久化框架使用]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7320819</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7320819</guid><author>cxfking</author><pubDate>Mon, 05 Mar 2012 14:32:36 +0800</pubDate><description><![CDATA[看看ibatis与hibernate的异同。
在执行大量数据库操作时，我们的SQL语句必然要得到优化后才能使用。
而Hibernate给我们的条件实在是太局限，在做大型数据操作时候，难免会觉得不是那么快。
ibatis给我的感觉就是短而精悍，可以让我们自定义过程，相当一个半自动的框架。给于程序
员的控制性比较大，使用起来也是比较方便。

------------------------]]></description><category></category></item><item><title><![CDATA[ibatis与hibernate的区别与适用范围]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7320591</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7320591</guid><author>cxfking</author><pubDate>Mon, 05 Mar 2012 13:53:16 +0800</pubDate><description><![CDATA[最大的区别在于：
ibatis只是方便你操作sql的。
hirbernate的目的是在代码中消除sql，在对象层实现持久化。 ibatas的sql语句需要自己手动写，而hibernate能够在程序运行时自动生成。但是不要就这样以为hibernate比ibatas方便，其实二者熟悉之后的效率差不多。而hibernate还能够自动建表等等，这样的好处就在于你带着这个程序，无论到什么机器上，你都不需要数]]></description><category></category></item><item><title><![CDATA[log4j配置2]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7320228</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7320228</guid><author>cxfking</author><pubDate>Mon, 05 Mar 2012 11:59:18 +0800</pubDate><description><![CDATA[Log4J的配置文件(Configuration File)就是用来设置记录器的级别、存放器和布局的，它可接key=value格式的设置或xml格式的设置信息。通过配置，可以创建出Log4J的运行环境。
1. 配置文件
Log4J配置文件的基本格式如下： 

#配置根Logger
log4j.rootLogger 
=   
[ level 
]   ,
 appenderNam]]></description><category></category></item><item><title><![CDATA[log4j的相关配置]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7318171</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7318171</guid><author>cxfking</author><pubDate>Sun, 04 Mar 2012 16:23:10 +0800</pubDate><description><![CDATA[2.2.3. 配置文件
　　
　　2.2.3.1. 客户程序配置文件
　　
　　log4j.rootLogger=INFO, A1
　　
　　log4j.appender.A1=org.apache.log4j.ConsoleAppender
　　
　　log4j.appender.A1.layout=org.apache.log4j.PatternLayout
　　
　　lo]]></description><category></category></item><item><title><![CDATA[jpa+spring+hibernate]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7317884</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7317884</guid><author>cxfking</author><pubDate>Sun, 04 Mar 2012 14:42:02 +0800</pubDate><description><![CDATA[一 前言    
    最近在做个项目,JPA使用了hibernate3.6.后来觉得JPA单独使用不是很给力,于是就想到了和spring集成.刚开始,我是用spring2.5.6和hibernate3.6集成的,屡次不成功.后来研究发现,hibernate3.6的JPA是2.0的.狂晕.下面是spring3.0.5(支持JPA2.0)和hibernate3.6集成,其中源代码在附件里， 只有]]></description><category></category></item><item><title><![CDATA[jpa]]></title><link>https://blog.youkuaiyun.com/cxfking/article/details/7317826</link><guid>https://blog.youkuaiyun.com/cxfking/article/details/7317826</guid><author>cxfking</author><pubDate>Sun, 04 Mar 2012 14:13:10 +0800</pubDate><description><![CDATA[2008-03-09
OpenJPA(3)
关键字: jpa 
4 EntityManagerFactory
4．1 Overview
    EntityManagerFactory可以被注入到应用中，也可以通过以下方式创建：
    EntityManagerFactory emf = Persistence.createEntityManagerFactory("openjpa"]]></description><category></category></item></channel></rss>