Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: [PL/SQL] Objects
Sybrand Bakker <gooiditweg_at_sybrandb.demon.nl> wrote i
> > try to read about bulk operations with collections (chapter 5
> >of PL/SQL manual on tahiti.oracle.com)
>
> Bulk collect has exactly NOTHING to do with OO
Bulk collect allows Collection Class processing. For example, this does not work.
(BTW I have yet to find a valid PL/SQL variable type to fetch a row/object from an object view from a cursor)
So how then do you process a collection of object? Bulk collect.
So, in this regard bulk collect has a everything to do with OO.
The problem here though is that the constructor is called per row, in order to convert the row into type (1). This is far from ideal as the row should be a persistant object with no construction needed - but for that you need to define the object as a column in the table. Compromises and compromises... Wonder if 10G address any of these issues?
-- BillyReceived on Thu Sep 11 2003 - 03:44:12 CDT