Details
-
Bug
-
Resolution: Unresolved
-
P3: Somewhat important
-
None
-
5.4.0, 5.12.4
-
all, mine is:
Oracle 11.2.0.4 64bit on SLES 11.3 64bit,
Qt 5.4 64bit on OpenSUSE 13.2 64bit,
Oracle InstantClient 12.1.0.1 64bit
Description
QOCI: Accessing an explicit ref_cursor, delivered by an oracle stored function or stored procedure fails.
This error already has been described as error QTBUG-166, date 28/Jul/06 2:45 AM by Henrik Hartz.
The patches diff_qsql_oci.cpp.patch and diff_qsql_oci.h.patch have been added on 29/Mar/12 9:52 PM. They are written for Qt 4.1.4.
I converted them in a 'quick and dirty' manner for Qt 5.4.
Appended files are:
- Oracle_ref_cursor_testscenery.sql: Create package, test table and testdata
- qsql_oci_cpp_new.diff and qsql_oci_p_h_new.diff: diffs to apply to the appropriate files in /home/username/Qt5.4.0/5.4/Src/qtbase/src/sql/drivers/oci/
- DB_Test.pro and main.cpp: the test project
Please deliver an appropriate, corrected OCI module in a future release.
Attachments
Issue Links
- relates to
-
QTBUG-166 Support PL/SQL procedures returning cursor variables
- Reported