Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » U++ SQL » Oracle RefCursor and Stored Procedure
Re: Oracle RefCursor and Stored Procedure [message #42993 is a reply to message #42963] Tue, 22 April 2014 10:03 Go to previous messageGo to previous message
aksdb is currently offline  aksdb
Messages: 6
Registered: April 2014
Promising Member
Close, it actually works without the RawToValue Smile I wasn't aware that a typed pointer would be wrapped into Value and correctly identified later on.
So at least I got the call now. I just need to figure out, why Oracle doesn't like the refcursor/result set and throws me an
PLS-00382: expression is of wrong type


It's probably because we use "custom" ref cursors

 TYPE ref_cursor_type IS
      REF CURSOR RETURN ref_cursor_rec;


(where ref_cursor_rec is a custom structure containing the fields to be returned).

I didn't expect it to be that much of a hassle. But I'll hopefully figure this out. Thanks for that pointer (literally)! Smile
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Schema description documentation not matching code behavior
Next Topic: PATCH: SqlSelect::ForUpdate() should generate nothing for SQLITE3
Goto Forum:
  


Current Time: Tue May 07 13:16:42 CEST 2024

Total time taken to generate the page: 0.02504 seconds