File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes JDBC and Relational Databases and the fly likes Bigger type length than maximum Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of REST with Spring (video course) this week in the Spring forum!
JavaRanch » Java Forums » Databases » JDBC and Relational Databases
Bookmark "Bigger type length than maximum" Watch "Bigger type length than maximum" New topic

Bigger type length than maximum

Deepak Bala

Joined: Feb 24, 2006
Posts: 6662

We have an Oracle database that throws the "Bigger type length than maximum" SQLException when processing huge records. Sometimes it is able to process large number of records without errors, but other times this error is thrown, and we have to restart the transaction to get rid of this error. Of late we are unable to get rid of this error for a particular huge transaction. When the load is split into smaller records the transaction goes through, but it fails when the record count is huge.

I want to know if there is any other solution to go by, other than upgrading the database. Our current oracle build is Which build should I upgrade to to fix this ? I am also not convinced that upgrading the DB will fix the error. Patch sets seem to fix the "Bigger type length than maximum" errors that occur on CLOBs, which we dont use. I was told that the Oranxo driver fixes this error but introduces some errors of its own. Any one solved this ?
[ March 17, 2007: Message edited by: John Meyers ]

SCJP 6 articles - SCJP 5/6 mock exams - More SCJP Mocks
Gaurav Chikara
Ranch Hand

Joined: Jun 09, 2000
Posts: 410
You can try using batch inserts,updates etc. If that doesn't seem to be solution you are looking then run batch programs through CRON jobs schedulers so that you can periodcally keep on pinging databse and doing your stuff

SCJP,SCWCD,SCBCD<br />If Opportunity doesn't knock then build the door
I agree. Here's the link:
subject: Bigger type length than maximum
jQuery in Action, 3rd edition