Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-28 Thread M.-A. Lemburg
Chris Withers wrote: > M.-A. Lemburg wrote: > >> We won't have anything ready in the next three months; >> that much I can tell you. >> >> If you make DCOracle2 stable enough to use as low-level >> interface, we might even consider using DCOracle2 for >> the Zope DA, so we wouldn't want to hold yo

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-28 Thread Chris Withers
M.-A. Lemburg wrote: We won't have anything ready in the next three months; that much I can tell you. If you make DCOracle2 stable enough to use as low-level interface, we might even consider using DCOracle2 for the Zope DA, so we wouldn't want to hold you off on fixing issues in DCOracle2 :-) Heh,

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-22 Thread M.-A. Lemburg
Chris Withers wrote: > M.-A. Lemburg wrote: > >>> Huh? I think you need to provide a little more information there... >> >> >> >> Sorry, I meant that the "native Oracle interface" is not DCOracle2, >> hinting that at the project I mentioned below. > > right, but DCOracle2 is *A* native oracle int

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-22 Thread Chris Withers
M.-A. Lemburg wrote: Huh? I think you need to provide a little more information there... Sorry, I meant that the "native Oracle interface" is not DCOracle2, hinting that at the project I mentioned below. right, but DCOracle2 is *A* native oracle interface, right? We're considering working on one o

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-21 Thread M.-A. Lemburg
Chris Withers wrote: > M.-A. Lemburg wrote: > Would a native Oracle interface help ? >>> >>> >>> Yeah, and that's what DCOracle2 is, right? >> >> >> Nope. > > > Huh? I think you need to provide a little more information there... Sorry, I meant that the "native Oracle interface" is not DCOr

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-21 Thread Chris Withers
Matthew T. Kromer wrote: And rumour has it I'm going to get some serious time to work on this soon! Matt, you up for fixing any C-level bugs that crawl out of the woodwork? Bugfixing, sure... :) How about a re-write so it's all squeeky clean? ;-) Chris -- Simplistix - Content Management, Zope &

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-21 Thread Chris Withers
M.-A. Lemburg wrote: Would a native Oracle interface help ? Yeah, and that's what DCOracle2 is, right? Nope. Huh? I think you need to provide a little more information there... If you're telling me you have a real live decent quality native oracle interface, then I'm all ears :-) We're considering

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-21 Thread Matthew T. Kromer
On Apr 19, 2005, at 4:24 AM, Chris Withers wrote: Matthew T. Kromer wrote: Chris Withers's branch of DCOracle2 has some changes that help the connection pooling problem. And rumour has it I'm going to get some serious time to work on this soon! Matt, you up for fixing any C-level bugs that crawl

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-20 Thread M.-A. Lemburg
Chris Withers wrote: > M.-A. Lemburg wrote: > >> Not sure why they think that ODBC is deprecated - Oracle >> is happily working on their ODBC driver and it's one >> of the best bets you can find out there: >> >>http://www.oracle.com/technology/software/tech/windows/odbc/index.html > > > Inte

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-20 Thread Chris Withers
M.-A. Lemburg wrote: Not sure why they think that ODBC is deprecated - Oracle is happily working on their ODBC driver and it's one of the best bets you can find out there: http://www.oracle.com/technology/software/tech/windows/odbc/index.html Interesting, but people here, even M$ people, haven't

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread M.-A. Lemburg
Chris Withers wrote: > M.-A. Lemburg wrote: > >>> This is a no-go if your Oracle people go "huh? ODBC? that's deprecated >>> rubbish and you ain't using it" ;-) >> >> >> Depends on what people you're talking to, I guess... > > > Oracle DBA's who know a helluva lot more than me about Oracle ;-) >

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread Chris Withers
M.-A. Lemburg wrote: This is a no-go if your Oracle people go "huh? ODBC? that's deprecated rubbish and you ain't using it" ;-) Depends on what people you're talking to, I guess... Oracle DBA's who know a helluva lot more than me about Oracle ;-) Why are they saying ODBC is deprecated? Is it? Is AD

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread M.-A. Lemburg
Chris Withers wrote: > Matthew T. Kromer wrote: > >> Chris Withers's branch of DCOracle2 has some changes that help the >> connection pooling problem. > > > And rumour has it I'm going to get some serious time to work on this > soon! Matt, you up for fixing any C-level bugs that crawl out of the

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread Chris Withers
Matthew T. Kromer wrote: Chris Withers's branch of DCOracle2 has some changes that help the connection pooling problem. And rumour has it I'm going to get some serious time to work on this soon! Matt, you up for fixing any C-level bugs that crawl out of the woodwork? You can also consider using

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-19 Thread Chris Withers
Hi Cynthia, Cynthia Kiser wrote: When you do our own connection management, are you able to avoid DCOracle2 leaking connections? In our Zope 2.6.1/DCOracle2-1.3b server, we accumulate sessions where Oracle is waiting for a response from Zope, but Zope apparently thinks it closed that connection and

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-13 Thread M.-A. Lemburg
Matthew T. Kromer wrote: Chris Withers's branch of DCOracle2 has some changes that help the connection pooling problem. The issue basically is that the Zope adapter for DCOracle2 is fairly old and crusty. I think Jim's correct when he suggests doing your own pool management from a module. All

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-12 Thread Matthew T. Kromer
Chris Withers's branch of DCOracle2 has some changes that help the connection pooling problem. The issue basically is that the Zope adapter for DCOracle2 is fairly old and crusty. I think Jim's correct when he suggests doing your own pool management from a module. All that the DA is supposed

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-10 Thread Maciej Wisniowski
> for functions, you can do something like > select my_function_result() from dual > (assuming your function returns a scalar of some kind.)/ / Thank you. I think that 'dual' will solve few my problems. I'm not an oracle developer so I didn't know about this method. Really strange

Re: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-08 Thread Cynthia Kiser
Quoting Jim Abramson <[EMAIL PROTECTED]>: > In our experience we ended up needing to do increasingly complex > things with plsql, and ultimately, we had no choice to move all our > db access out into ExternalMethods or Products and use DCOracle2 > directly. This does require constructing your own

RE: [Zope-DB] Returning values from Oracle function/procedure withZSQLMethod

2005-04-08 Thread Jim Abramson
for functions, you can do something like select my_function_result() from dual (assuming your function returns a scalar of some kind.) for procedures, you can do the DCOracle2 Stored Procedure (might be called ZOracleDA Stored Procedure in your install...) OTOH I've found the procedure objec