系统学习hibernate之三:transient、persistent、detached状态
				     摘要: transient、persistent、detached状态,对于使用hibernate在开发过程中起着比较重要的意义。  
阅读全文
				
					posted @ 
2008-10-09 20:51 apple0668 阅读(472) | 
评论 (0)  编辑
				 
			 
		
			
				系统学习hibernate之二:Session中load和get
				     摘要: hibernate中的Seesion两个方法:get,load。get不支持lazy,load支持lazy。采用get加载数据,如果没有匹配的数据,返回null,而load则抛出异常。
        
阅读全文
				
					posted @ 
2008-10-09 20:38 apple0668 阅读(457) | 
评论 (0)  编辑
				 
			 
		
			
				系统学习hibernate之一:利用hibernate中的SchemaExport生成数据表
				     摘要: 一般在项目开发过程中,使用比较多的就是先建好表,再利用hibernate反向工程生成*.hbm.xml文件跟POJO类,个人认为由于目前所使用的数据库都是关系数据库,而hibernate作为一个ORM,把对数据库的操作都对象化了,更应当从对象出发,生成数据库里面相关表,这样更加符合人认知事物的习惯。
  
阅读全文
				
					posted @ 
2008-09-29 12:56 apple0668 阅读(18659) | 
评论 (5)  编辑
				 
			 
		
			
				ssh2三大框架使用时遇到的一个ConstraintViolationException异常
				     摘要: ssh2三大框架整合时遇到的一个ConstraintViolationException异常。  
阅读全文
				
					posted @ 
2008-01-21 10:39 apple0668 阅读(5264) | 
评论 (2)  编辑
				 
			 
		
			
				Test-Driven Development with Spring and Hibernate(下载)
				     摘要: Test-Driven Development with Spring and Hibernate(下载),关于spring,hibernate测试方面的。  
阅读全文
				
					posted @ 
2007-10-13 00:48 apple0668 阅读(1257) | 
评论 (0)  编辑
				 
			 
		
			
				Spring 整合 Hibernate 的一处简化配置<转载>
				     摘要: 关于spring整合hibernate的简化配置。。。。。。。  
阅读全文
				
					posted @ 
2007-09-20 18:49 apple0668 阅读(417) | 
评论 (0)  编辑