• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Error: Bigger Type Length Than Maximum

 
Rajeev Iyer
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • 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..
 
Rashid Darvesh
Ranch Hand
Posts: 189
  • Mark post as helpful
  • send pies
  • 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
 
Jeanne Boyarsky
author & internet detective
Marshal
Posts: 34860
369
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • 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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic