Given that I've been developing in .NOT for the past 6 months, I figured I'd
chime in here....

.NOT can call PL/SQL just fine. If you use Oracle's ODB.NET (that's Oracle
Data Provider for .NET -- a free download from otn.oracle.com), you can use
bind an array to a PL/SQL call. In fact, if you look on OTN, you can find an
article titled. 
        Bind an Array to an ODP.NET Database Command

That said, I have never used the version provided by Micro$oft. 

Kevin

-----Original Message-----
Sent: Monday, November 10, 2003 1:59 PM
To: Multiple recipients of list ORACLE-L
databse


hmm....

earlier in the year i was on a project where I wrote alot of backend PL/SQL
that was called through the middle tier. I have no idea how this works. I
just assumed it came straight through .NET. 

any idea how they might have done that? The front end was a .NET
architecture. Sorry for being vague, my extent of knowledge on .NET ends
with how to spell it. 

If you cant call PL/SQL from .NET than that is a huge weakness in
comparisons to java. Will microsoft add featurse to all this? I would think
they might not because they want people using SQL Server.

Our .NET architect swears by it and claims .NET has alot of advantages over
java. 
> 
> From: David Hau <[EMAIL PROTECTED]>
> Date: 2003/11/10 Mon PM 01:44:27 EST
> To: Multiple recipients of list ORACLE-L <[EMAIL PROTECTED]>
> 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
> 
> 
> 
> 
> [EMAIL PROTECTED] 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: [EMAIL PROTECTED]
> 
> 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: [EMAIL PROTECTED] (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: <[EMAIL PROTECTED]
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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: Kevin Toepke
  INET: [EMAIL PROTECTED]

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: [EMAIL PROTECTED] (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).

Reply via email to