home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / database / oracle / 2116 < prev    next >
Encoding:
Internet Message Format  |  1992-11-05  |  1.7 KB

  1. Path: sparky!uunet!spool.mu.edu!agate!doc.ic.ac.uk!uknet!mcsun!sun4nl!orcenl!nl.oracle.com!kverruyt
  2. From: kverruyt@nl.oracle.com (Kees Verruyt)
  3. Newsgroups: comp.databases.oracle
  4. Subject: Re: Oracle 7.0.9.3, XA, and Encina
  5. Message-ID: <3190@nlsun1.oracle.nl>
  6. Date: 5 Nov 92 08:14:22 GMT
  7. References: <19921104.071527.486@almaden.ibm.com>
  8. Sender: news@nl.oracle.com
  9. Organization: Oracle Europe
  10. Lines: 35
  11. Nntp-Posting-Host: nlsu54
  12.  
  13. Alan Beal writes:
  14. > Has anyone been successful using Oracle 7.0.9.3 with Transarc Encina
  15. > 1.0.1a using the XA interface?  Using embedded SQL, we get data
  16. > retrieved on the first Encina transaction and then get invalid
  17. > cursor after that (sqlcode = 1001).  Oracle Support will not help
  18. > because it is not a production product.  Any ideas?
  19. >
  20. > Alan Beal         alanb@owgvm0.vnet.ibm.com
  21.  
  22. Alan, 
  23.  
  24. I struggled with this myself -- just compile your Pro*C program with
  25.  
  26. EXEC ORACLE OPTION (RELEASE_CURSOR=YES);
  27.  
  28. Otherwise the Pro*C cursor cache gets in the way: Even if you CLOSE a cursor,
  29. Pro*C tries to keep it open.
  30.  
  31. It should work fine after that.
  32.  
  33. Note: Since this is ORACLE7, closing a cursor in the front-end isn't so bad since
  34.       the parsed SQL is kept around in the ORACLE7 server SGA.
  35.  
  36.  
  37. -- 
  38. /*
  39. EXEC SQL INCLUDE ORA_DISCLAIMER;
  40. */
  41. -- This posting reflects the views of myself, not Oracle Corporation.
  42. ------------------------------------------------------------------------
  43. Kees Verruijt                           Rijnzathe 6
  44. Software Engineer Gateway development   3454 PV  DE MEERN
  45. Oracle Europe                           The Netherlands
  46. Email: kverruyt@nl.oracle.com           Tel: +31 3406 94886
  47.    or: kverruyt@oracle.nl               Fax: +31 3406 65603
  48.