ORA-24374: define not done before fetch or execute and fetch
Posted: Wed 01 Apr 2009 12:26
What could cause this message? it happens when I TORATable.Open is called with TORAtable.ScrollableCursor=True.
When TORAtable.ScrollableCursor=False, my app runs out of RAM (165K+ records).
I create field objects BEFORE opening the table. When field objects are not created before opening the tabl;e (different test app) the error does not occur. Any hints/tips?
UPDATE 20090401
It seems to make no difference if I update fe fielddefs/fieldlist beforehand or not. Somehow it works from within a testapp nut not from within my main app....
Maybe this has something to do with it? I'm indeed testing on 10g.
http://forums.oracle.com/forums/thread. ... dID=427027
UPDATE 20090401
Found 2nd requirement for generating the error: IndexFieldnames of TORATable needs to be set to something. SO error occurs when opeing a TORATable with ScrollableCursor=True and IndexFieldNames=
regards
When TORAtable.ScrollableCursor=False, my app runs out of RAM (165K+ records).
I create field objects BEFORE opening the table. When field objects are not created before opening the tabl;e (different test app) the error does not occur. Any hints/tips?
UPDATE 20090401
It seems to make no difference if I update fe fielddefs/fieldlist beforehand or not. Somehow it works from within a testapp nut not from within my main app....
Maybe this has something to do with it? I'm indeed testing on 10g.
http://forums.oracle.com/forums/thread. ... dID=427027
Found 2nd requirement for generating the error: IndexFieldnames of TORATable needs to be set to something. SO error occurs when opeing a TORATable with ScrollableCursor=True and IndexFieldNames=
regards