Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6534979
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T10:19:01+00:00 2026-05-25T10:19:01+00:00

I am trying to retrieve a clob data from the oracle database as shown

  • 0

I am trying to retrieve a clob data from the oracle database as shown in reports.xml.i am using oracle jdbc driver version “Oracle JDBC Driver version – 10.0.2.0.0” . The following are the errors i receive ,kindly let me know ,how to resolve this.

2011-08-31 13:03:40,790 WARN  [org.apache.struts.chain.commands.AbstractExceptionHandler] (http-10.12.230.222-8080-1) Unhandled exception
com.ibatis.common.jdbc.exception.NestedSQLException:   
--- The error occurred in sa/mobily/telecop/dao/config/GenericReportQuery.xml.  
--- The error occurred while applying a parameter map.  
--- Check the runReportQuery-InlineParameterMap.  
--- Check the parameter mapping for the 'QUERY' property.  
--- Cause: java.sql.SQLException: Data size bigger than max size for this type: 6411
    at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryWithCallback(MappedStatement.java:201)
    at com.ibatis.sqlmap.engine.mapping.statement.MappedStatement.executeQueryForList(MappedStatement.java:139)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:567)
    at com.ibatis.sqlmap.engine.impl.SqlMapExecutorDelegate.queryForList(SqlMapExecutorDelegate.java:541)
    at com.ibatis.sqlmap.engine.impl.SqlMapSessionImpl.queryForList(SqlMapSessionImpl.java:118)
    at com.ibatis.sqlmap.engine.impl.SqlMapClientImpl.queryForList(SqlMapClientImpl.java:94)

reports.xml

<select id="getReportQuery"  parameterClass="java.util.HashMap" resultMap="queryStringData" >
        select REPORT_QUERY 
         from frd_rep_fw_reports where report_id=#REP_ID# AND report_type='P' 
</select> 
<resultMap id="queryStringData" class="java.util.HashMap">
  <result column="REPORT_QUERY" property="QRY_BODY" javaType="java.lang.String" jdbcType="CLOB"  typeHandler="com.ibatis.sqlmap.engine.type.ClobTypeHandlerCallback" />
</resultMap>    

sqlmapconfig.xml

<dataSource type="JNDI">
        <property name="DataSource" value="${connection.datasource}"/>
        <property name="Driver.SetBigStringTryClob" value="true"/>
    </dataSource>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T10:19:01+00:00Added an answer on May 25, 2026 at 10:19 am

    Get the latest ojdbc14.jar and i should work. Also let me know how the table frd_rep_fw_reports is defined

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Trying to retrieve data using linq from a database. I would like to use
Iam trying to retrieve data from mysql database into stylesheet.php but it is not
trying to retrieve some data from the database and put in into my form.
I'm trying to retrieve data for a Open-high-low-close (OHLC) chart directly from the database,
//hi i am trying to retrieve the data from database and display in my
I'm trying to retrieve a file from a server using SFTP (as opposed to
I'm trying to retrieve an XML stream from a URL. For most URLs my
I'm trying to retrieve data from an SQL Server 2000 server, and place into
I am trying to retrieve a few things from the database with just one
I'm trying to retrieve data from http://api.freebase.com/api/trans/raw/m/0h47 As you can see in text there

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.