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
Oracle RefCursor and Stored Procedure [message #42963] Thu, 17 April 2014 18:59 Go to previous message
aksdb is currently offline  aksdb
Messages: 6
Registered: April 2014
Promising Member
I'm currently evaluating U++, which at a first glance seems pretty awesome. I usually detest C/C++, but U++ showed me that it can indeed look fantastic Smile

Anyway, our Oracle (11) database at work is handled strictly through stored procedures. For each table there are automatically generated SPs to insert, update and select as well as manually crafted SPs for special tasks. Each function returns a custom struct (containing error code and message), while the actual "results" of the query are in a refcursor as out-parameter.

From what I can see, OCI8Connection provides a .SetParam(int, Sql&) which seems to be intended for exactly such ref-cursors. However I wasn't able to find out how I can make use of it, since the SQL class doesn't give me any way to access that overloaded function.

So: any chance to work in this environment with current U++ SQL? 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: Fri Apr 26 23:58:51 CEST 2024

Total time taken to generate the page: 0.06630 seconds