Hi,
I'm trying to find out how to retrieve the result of the DBMS_OUTPUT.GET_LINES() procedure in my C# code. I managed to retrieve a single line using the DBMS_OUTPUT.GET_LINE() procedure.
The problem I have is, that the first parameter of the GET_LINES() procedure is a CHARARR Type and I don't know which OracleDbType I should use.
If you are using .NET Connect from Oracle there you can do something like this (using an associative array parameter):
// create an associative array parameter
OracleParameter p_5 = new OracleParameter();
p_5.OracleDbType = OracleDbType.Varchar2;
p_5.CollectionType = OracleCollectionType.PLSQLAssociativeArray;
p_5.Direction = ParameterDirection.Output;
p_5.Value = null;
p_5.Size = 2;
p_5.ArrayBindSize = new int[2] { 32, 32 };
Is there a similar way in the dotConnect for Oracle component ?
Thanks for your help,
Mirko
Search found 4 matches
- Sat 09 Jul 2011 09:55
- Forum: dotConnect for Oracle
- Topic: Howto retrieve DBMS_OUTPUT.GET_LINES() results ??
- Replies: 1
- Views: 4350
- Wed 14 Jan 2009 07:16
- Forum: dotConnect for Oracle
- Topic: Can't get the OracleAlerter to work
- Replies: 9
- Views: 2634
Hi,
the Package DBMS_ALERT Package is installed and granted to the user, who starts the alerter. We've tested it with our old delphi Clients (they are using the doa components to connect to oracle) and this works perfectly. (same database, same oracle user)
So this can't be the problem. Does your component needs any extra "rights", to use this feature ? (e.g. execute with GRANT OPTION ? )
Best regards,
Mirko
the Package DBMS_ALERT Package is installed and granted to the user, who starts the alerter. We've tested it with our old delphi Clients (they are using the doa components to connect to oracle) and this works perfectly. (same database, same oracle user)
So this can't be the problem. Does your component needs any extra "rights", to use this feature ? (e.g. execute with GRANT OPTION ? )
Best regards,
Mirko
- Tue 16 Sep 2008 11:47
- Forum: dotConnect for Oracle
- Topic: Oradirect.Net 2.40 Memory leaks
- Replies: 9
- Views: 5436
- Fri 12 Sep 2008 13:33
- Forum: dotConnect for Oracle
- Topic: Oradirect.Net 2.40 Memory leaks
- Replies: 9
- Views: 5436