Re: [Zope-DB] [ANN] Modified version of DCOracle2 is available

2006-12-04 Thread Maan M. Hamze
Maceij - I still do not understand how to get hold of the new dco2.c file (along with other files in the DCOracle2 package). You state right from the start: ** Code is here: http://code.google.com/p/dcoracle2da/ Should be available via svn with: svn checkout

RE: [Zope-DB] DCOracle2 with a Stored Procedure that Returns REFCURSOR / ORA TIMESTAMP DataType Issue

2007-03-20 Thread Maan M. Hamze
data type with DCOracle2? Maan -Original Message- From: Maan M. Hamze [mailto:[EMAIL PROTECTED] Sent: Saturday, March 17, 2007 5:32 PM To: zope-db@zope.org Subject: Re: [Zope-DB] DCOracle2 with a Stored Procedure that Returns REFCURSOR m.banaouas [EMAIL PROTECTED]: options = (2714

RE: [Zope-DB] DCOracle2 with a Stored Procedure that Returns REFCURSOR

2007-03-20 Thread Maan M. Hamze
You have a point Maciej - but I got used to DCOracle2 and so far it has performed quite well. I link it with Oracle lib32 libraries, but use it with ora lib 64-bit libraries in the path. So far, there has been no issues I am aware of. The only thing that came up recently is how to use it with a

Re: [Zope-DB] DCOracle2 with a Stored Procedure that Returns a ref_cur

2007-03-21 Thread Maan M. Hamze
- Original Message - From: Matthew T. Kromer [EMAIL PROTECTED] To: Maan M. Hamze [EMAIL PROTECTED] Cc: zope-db@zope.org Sent: Tuesday, March 20, 2007 8:17 PM Subject: Re: [Zope-DB] DCOracle2 with a Stored Procedure that Returns a ref_cur If I recall, DCOracle2 returns an array

[Zope-DB] DCOracle2 TIMESTAMP DataType Issue

2007-03-21 Thread Maan M. Hamze
] To: Maan M. Hamze [EMAIL PROTECTED] Cc: zope-db@zope.org Sent: Tuesday, March 20, 2007 8:32 PM Subject: Re: [Zope-DB] DCOracle2 with a Stored Procedure that Returns REFCURSOR / ORA TIMESTAMP DataType Issue Chances are good that the C code that is trying to construct the timestamp doesn't know

[Zope-DB] RE: DCOracle2 TIMESTAMP DataType Issue

2007-03-21 Thread Maan M. Hamze
-Original Message- From: Maan M. Hamze [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 21, 2007 4:04 AM To: zope-db@zope.org Cc: Matthew T. Kromer Subject: DCOracle2 TIMESTAMP DataType Issue I checked dco2.c yesterday and I did notice that there is no converter for SQLT_TIMESTAMP: COVERTOUTF

[Zope-DB] RE: DCOracle2 TIMESTAMP DataType Issue - Resolved :-)

2007-03-22 Thread Maan M. Hamze
news. You know, I love your implementation with these converters. This dco2.c is a gem of a code piece of writing. Thanks for your help, Maan -Original Message- From: Matthew T. Kromer [mailto:[EMAIL PROTECTED] Sent: Thursday, March 22, 2007 5:42 AM To: Maan M. Hamze Cc: zope-db

[Zope-DB] DCOracle2 and x86_64

2007-03-22 Thread Maan M. Hamze
Maceij - You got the following: gcc -pthread -shared ./dco2.o -L/opt/oracle/client.9/product/lib32/ -lclntsh -Wl,-rpath,/opt/oracle/client.9/product/lib -o ./dco2.so BOTH oracle lib directories should be lib32. In the above, you have one pointing to lib32 and the other one to lib. Change

AW: [Zope-DB] [ANN] Modified version of DCOracle2 is available - RE Dr. Klaus Happle fixes

2007-12-02 Thread Maan M. Hamze
Hello - I was checking your fixes (Dr. Klaus Happle) for the two functions in dco2.c: (RE: http://mail.zope.org/pipermail/zope-db/2006-November/004812.html ) static PyObject *Cursor_ResultSet(Cursor *self, int count)and static PyObject *Cursor_fetch(Cursor *self, PyObject *args) I noticed

RE: [Zope-DB] compiling dco2.c with Oracle 10g using mingw on Windows XP - interesting errror

2007-12-06 Thread Maan M. Hamze
Maan M. Hamze [EMAIL PROTECTED] wrote: I compiled dco2.c on Solaris 9 with Oracle 9i and Oracle 10g with no problems. On Windows XP, compiling dco2.c with Oracle9i is fine. With Oracle 10g on Windows XP (using Mingw C compiler), I ran into following errors: # In file