`
jiaguwen123
  • 浏览: 405357 次
  • 性别: Icon_minigender_2
  • 来自: 深圳
社区版块
存档分类
最新评论
文章列表
一、Hibernate是JDBC的轻量级的对象封装,它是一个独立的对象持久层框架,和App Server,和EJB没有什么必然的联系。Hibernate可以用在任何JDBC可以使用的场合,例如Java应用程序的数据库访问代码,DAO接口的实现类,甚至可以是BMP里面的访问数据库的代码。从这个意义上来说,Hibernate和EB不是一个范畴的东西,也不存在非此即彼的关系。 二、Hibernate是一个和JDBC密切关联的框架,所以Hibernate的兼容性和JDBC驱动,和数据库都有一定的关系,但是和使用它的Java程序,和App Server没有任何关系,也不存在兼容性问题。 三、Hibern ...
有两个简单例子,以说明 “exists”和“in”的效率问题   1) select * from T1 where exists(select 1 from T2 where T1.a=T2.a) ;   T1数据量小而T2数据量非常大时,T1<<T2 时,1) 的查询效率高。   2) select * from T1 where T1.a in (select T2.a from T2) ;   T1数据量非常大而T2数据量小时,T1>>T2 时,2) 的查询效率高。   exists 用法:   请注意 1)句中的有颜色字体的部分 ,理解其含义;   ...
准备工作: 相关文件下载: 1.commons-io-1.2.jar:http://apache.justdn.org/jakarta/commons/io/binaries/commons-io-1.2.zip 2.commons-fileupload-1.1.1.jar:ftp://justdn.org/apache/jakarta/commons/fileupload/binaries/commons-fileupload-1.1.1.zip servlet代码: /** * Class Description: */ public class UploadFileS ...
关键字: undeployment failure 错误: Undeployment Failure XXX could not be redeployed because it could not be completely removed in the undeployment phase. the most common cuase of this problem is attempting to redeploy while the server is running,which has locked one or more files. to correct the deplo ...
Global site tag (gtag.js) - Google Analytics