MDA/MDD/TDD/DDD/DDDDDDD
posts - 196, comments - 30, trackbacks - 0, articles - 0
  BlogJava :: 首页 :: 新随笔 :: 联系 :: 聚合  :: 管理

spring使用笔记

Posted on 2008-07-11 23:36 leekiang 阅读(25) 评论(0)  编辑  收藏 所属分类: spring
1,service方法的transactionAttributes配置为readonly时,
批处理中出现错误: ORA-01456: 不可以在 READ ONLY 事务处理中执行插入/删除/更新操作

2,Failed to convert property value of type
错误的原因是service属性应该是接口,而不能是一个类

3,spring2.5支持jdk1.4
readme.txt里有这样一句:
The Spring Framework 2.5 requires JDK 1.4.2 and J2EE 1.3 (Servlet 2.3, JSP 1.2, JTA 1.0, EJB 2.0). JDK 1.6 is
required for building the framework; for the full build including all aspects, AspectJ is required as well.
core包下有个JdkVersion类,用来判断jdk版本.代码里的相关位置对环境变量进行了判断,有时候做同一件事提供了两套方案,高于1.5(或1.6)一种,低于1.5(或1.6)又是一种,构建时用1.6版本以1.4编译,就能在1.4上用了。

标题  
姓名  
主页
验证码 *  
内容(请不要发表任何与政治相关的内容)  
  登录  使用高级评论  新用户注册  返回页首  恢复上次提交      
该文被作者在 2008-08-17 19:01 编辑过
 
 
相关链接:
网站导航: