Websphere为datasource设置resultSetHoldability
来源:互联网 发布:vb6 连接mysql数据库 编辑:程序博客网 时间:2024/05/30 04:45
Websphere Server, 在使用JPA, 在一个事物transaction中包含多个操作的时候,抛出下面异常:
org.apache.openjpa.persistence.PersistenceException: [jcc][t4][10120][10898][3.63.123] Invalid operation: result set is closed. ERRORCODE=-4470, SQLSTATE=null
经过分析,是因为配置在websphere中的datasource 不支持 所致,
解决办法:
1. 进入websphere administrator console.
2. 进入datasource, custom properties
3. 找到resultSetHoldability, 把值设置成1
0 0
- Websphere为datasource设置resultSetHoldability
- websphere datasource配置文件
- websphere 中datasource 的配置
- 设置httpd和websphere
- websphere全局安全性设置
- WebSphere中设置
- websphere安全设置问题
- websphere mime设置
- websphere全局安全性设置
- WebSphere常用设置
- Websphere时区设置问题
- websphere系统变量设置
- Websphere优化设置
- ireport中用javabean设置datasource
- 为 WebSphere sMash 做好准备
- 设置WebSphere的默认编码
- 如何设置WebSphere随机启动
- 设置WebSphere的默认编码
- Hdu oj 1875 畅通工程再续
- ZOJ1157, POJ1087,UVA 753 A Plug for UNIX (最大流)
- UI_Target-Action
- ural1057 Amount of Degrees数位统计入门题
- Esfog_UnityShader教程_UnityShader语法实例浅析
- Websphere为datasource设置resultSetHoldability
- 照片墙设计与制作
- java连接MySQL数据库
- 安卓开发中的折线图
- Dark roads--hdoj
- 数据结构(Java语言)——Stack简单实现
- Fractions Again?!
- [Leetcode]Roman to Integer
- virsh 命令快速参考