Win a copy of Rust Web Development this week in the Other Languages forum!
  • 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:
  • Tim Cooke
  • Campbell Ritchie
  • Ron McLeod
  • Liutauras Vilda
  • Jeanne Boyarsky
Sheriffs:
  • Junilu Lacar
  • Rob Spoor
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Tim Moores
  • Jesse Silverman
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Al Hobbs
  • Piet Souris
  • Frits Walraven

Error: Bigger Type Length Than Maximum

 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi,
I am coming across a typical error in oracle (oracle 9i), whenever fetching a large amount od data, as error is thrown, which is

Bigger Type Length Than Maximum

The error comes randomly and happens for large set of records.
Has this problem been faced by anyone before ?
Please help..
 
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
i too have the same error. i am executing a query which generates 13,000 rows it gives tthe following excepotion

Exception in thread "main" java.lang.RuntimeException: SQLException Bigger type length than Maximum
at com.edmunds.xmlSearch.databaseLoader.VehicleProcessor.processDocuments(VehicleProcessor.java:125)
at com.edmunds.xmlSearch.databaseLoader.VehicleProcessor.main(VehicleProcessor.java:55)


Any idea , is it a driver problem or somethign i have to do at the database level

Rashid
 
author & internet detective
Posts: 40913
840
Eclipse IDE VI Editor Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Rashid,
Are any of those fields large? Maybe you are trying to put a really large number into an integer (or something like that) ?

There isn't an inherent limitation on the number of rows you can retrieve. You can prove this by picking a simple column and doing "select id, id, id, id, id, id, id from table". Just substitue the number of "id"s with the number of columns you have in your real query.
reply
    Bookmark Topic Watch Topic
  • New Topic