Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Re: passing an array variable from a .Net middle tier to a databse

Re: Re: passing an array variable from a .Net middle tier to a databse

From: <ryan_oracle_at_cox.net>
Date: Mon, 10 Nov 2003 11:04:25 -0800
Message-ID: <F001.005D63B6.20031110110425@fatcity.com>


ignore most of my last question. I didnt see pl/sql 'table' just saw pl/sql

my bad. sorry
>
> From: David Hau <davehau123_at_netscape.net>
> Date: 2003/11/10 Mon PM 01:44:27 EST
> To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com>
> Subject: Re: passing an array variable from a .Net middle tier to a databse
>
> You can't use a PL/SQL table in ODP.NET. ODP.NET currently does not
> support object type or collection type:
>
> http://forums.oracle.com/forums/thread.jsp?forum=146&thread=211399&tstart=0&trange=15
>
> Your best bet would be to use array binding i.e. bind an array to the
> OracleParameter object and set the ArrayBindCount in the OracleCommand
> object:
>
> http://download-west.oracle.com/docs/html/A96160_01/features.htm#1049674
>
> HTH,
> Dave
>
>
>
>
> ryan_oracle_at_cox.net wrote:
> > Im sure on the DB side this is the same for Java and C/C++ also.
> >
> > The OO guys pass us an array. When I write my code, I need to define a PL/SQL table that maps exactly to the array correct?
> >
> > Our middle tier is having problem doing bulk inserts since its doing one at a time and I believe it closes the session each time. I also think there is an auto-commit on.
> >
> > I cant help with that... However, I want to pass it to a pl/sql table with some other variables then dynamically insert it into the database from package. This should clear up the bottleneck.
> >
> > is this doable? I cannot touch the middle tier or OO stuff. Strictly the database.
> >
>
>
> --
> Please see the official ORACLE-L FAQ: http://www.orafaq.net
> --
> Author: David Hau
> INET: davehau123_at_netscape.net
>
> Fat City Network Services -- 858-538-5051 http://www.fatcity.com
> San Diego, California -- Mailing list and web hosting services
> ---------------------------------------------------------------------
> To REMOVE yourself from this mailing list, send an E-Mail message
> to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
> the message BODY, include a line containing: UNSUB ORACLE-L
> (or the name of mailing list you want to be removed from). You may
> also send the HELP command for other information (like subscribing).
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: <ryan_oracle_at_cox.net
  INET: ryan_oracle_at_cox.net

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Nov 10 2003 - 13:04:25 CST

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US