XE2, ODAC 9.5
Example:
Code: Select all
OraSession1.ConnectString := 'scott/tiger@orcl12';
OraSession1.Connect;
OraQuery1.SQL.Text := 'select collect(level) from dual connect by level <= 10';
OraQuery1.Open;
But in direct mode I get error
Code: Select all
OraSession1.ConnectString := 'scott/[email protected]:1522:sn=orcl12';
OraSession1.Options.Direct := True;
OraSession1.Connect;
OraQuery1.SQL.Text := 'select collect(level) from dual connect by level <= 10';
OraQuery1.Open; // raise error
ORA-06512: at "SYS.DBMS_PICKLER", line 20
ORA-06512: at "SYS.DBMS_PICKLER", line 89
ORA-06512: at line 1