com.sybase.jdbc4.jdbc.SybResultSet.getClob(String) should not be called?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

com.sybase.jdbc4.jdbc.SybResultSet.getClob(String) should not be called?

nozuonodieistilltry
This post has NOT been accepted by the mailing list yet.
java.lang.UnsupportedOperationException :com.sybase.jdbc4.jdbc.SybResultSet.getClob(String) should not be called?

there's no resultMap because many tables are dynamically configured. consider it as select ? from ? where ?  ...
i use method selectMap(statement, parameter, mapKey) for a returnning Map ,but log4J will return one row with this execption while running.
like this :
15:29:58,695 DEBUG Statement:43 - ==>  Executing: select a1.reason from fccf a1 left join fcdy a2 on a1.fczhm=a2.fczhm
15:29:58,697 DEBUG ResultSet:43 - <==    Columns: reason
15:29:58,697 DEBUG ResultSet:43 - <==        Row: test1
15:29:58,698 DEBUG SqlSessionUtils:43 - Releasing transactional SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3947fa]
15:29:58,699 DEBUG DataSourceTransactionManager:843 - Initiating transaction rollback
15:29:58,701 DEBUG DataSourceTransactionManager:279 - Rolling back JDBC transaction on Connection [jdbc:sybase:Tds:sylar:5000/ideatech?charset=cp936, UserName=dbo, jConnect (TM) for JDBC (TM)]
15:29:58,702 DEBUG SqlSessionUtils:43 - Transaction synchronization closing SqlSession [org.apache.ibatis.session.defaults.DefaultSqlSession@3947fa]
15:29:58,704 DEBUG DataSourceTransactionManager:322 - Releasing JDBC Connection [jdbc:sybase:Tds:sylar:5000/ideatech?charset=cp936, UserName=dbo, jConnect (TM) for JDBC (TM)] after transaction
15:29:58,704 DEBUG DataSourceUtils:332 - Returning JDBC Connection to DataSource

how can i solve it ?
Loading...