oracle的sql语句中的concat,Oracle 10g 施用to_char(wm_concat()) 返回到程序中的不是字符串,怎样在数据库中使用sql语句进行类型的转换...

当前位置:我的异常网» J2EE » Oracle 10g 施用to_char(wm_concat()) 返回到程序中

Oracle 10g 施用to_char(wm_concat()) 返回到程序中的不是字符串,怎样在数据库中使用sql语句进行类型的转换

www.myexceptions.net  网友分享于:2013-06-27  浏览:433次

Oracle 10g 使用to_char(wm_concat()) 返回到程序中的不是字符串,怎样在数据库中使用sql语句进行类型的转换

在使用ibatis的时候,to_char(wm_concat())合并行后返回到程序中时,抛异常

ERROR [org.mortbay.log] - 

--- The error occurred in sqlmap/embe/areaCoverage/LogisticAreaCoverage.xml.

--- The error occurred while applying a parameter map.

--- Check the areaLogisticAreaCoverage.getAreaCoverageByCityId-InlineParameterMap.

--- Check the statement (query failed).

--- Cause: java.sql.SQLException: ORA-22922: nonexistent LOB value

; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:

--- The error occurred in sqlmap/embe/areaCoverage/LogisticAreaCoverage.xml.

--- The error occurred while applying a parameter map.

--- Check the areaLogisticAreaCoverage.getAreaCoverageByCityId-InlineParameterMap.

--- Check the statement (query failed).

--- Cause: java.sql.SQLException: ORA-22922: nonexistent LOB value

:>

org.springframework.jdbc.UncategorizedSQLException: SqlMapClient operation; uncategorized SQLException for SQL []; SQL state [99999]; error code [22922];

--- The error occurred in sqlmap/embe/areaCoverage/LogisticAreaCoverage.xml.

--- The error occurred while applying a parameter map.

--- Check the areaLogisticAreaCoverage.getAreaCoverageByCityId-InlineParameterMap.

--- Check the statement (query failed).

--- Cause: java.sql.SQLException: ORA-22922: nonexistent LOB value

; nested exception is com.ibatis.common.jdbc.exception.NestedSQLException:

--- The error occurred in sqlmap/embe/areaCoverage/LogisticAreaCoverage.xml.

--- The error occurred while applying a parameter map.

--- Check the areaLogisticAreaCoverage.getAreaCoverageByCityId-InlineParameterMap.

--- Check the statement (query failed).

--- Cause: java.sql.SQLException: ORA-22922: nonexistent LOB value

at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:83)

at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)

at org.springframework.jdbc.support.AbstractFallbackSQLExceptionTranslator.translate(AbstractFallbackSQLExceptionTranslator.java:80)

at org.springframework.orm.ibatis.SqlMapClientTemplate.execute(SqlMapClientTemplate.java:203)

at org.springframework.orm.ibatis.SqlMapClientTemplate.queryForList(SqlMapClientTemplate.java:293)

at xueshenghui.platform.dao.AppAreaCoverageDao.getAreaCoverageByCityId(AppAreaCoverageDao.java:69)

at xueshenghui.platform.service.AppAreaCoverageService.getAreaCoverageByCityId(AppAreaCoverageService.java:99)

at xueshenghui.platform.controller.PfAreaCoverageController.getAreaCoverageByCityId(PfAreaCoverageController.java:85)

文章评论

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值