• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Bigger type length than maximum

 
Bartender
Posts: 6663
5
MyEclipse IDE Firefox Browser Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 9.0.1.4. 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 ]
 
Ranch Hand
Posts: 413
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
reply
    Bookmark Topic Watch Topic
  • New Topic