Re: Bug in JNDIConnectionSource

2005-03-03 Thread Arthur Brown
James, thank you for your help. I issued the bug #33827. Regards Arthur Brown > I don't see how it could work. > Arthur Brown <[EMAIL PROTECTED]> wrote: > > do you agree with me, that without doing anything, i. e. > > change the code, derive a new class from JNDIConnectionSource > > and redecla

Re: Bug in JNDIConnectionSource

2005-03-01 Thread James Stauffer
Arthur Brown <[EMAIL PROTECTED]> wrote: > do you agree with me, that without doing anything, i. e. > change the code, derive a new class from JNDIConnectionSource > and redeclare dialectCode (what for?) > it cannot work? I don't see how it could work. > What is the regular way to introduce a new b

Re: Bug in JNDIConnectionSource

2005-03-01 Thread Arthur Brown
James, do you agree with me, that without doing anything, i. e. change the code, derive a new class from JNDIConnectionSource and redeclare dialectCode (what for?) it cannot work? What is the regular way to introduce a new bug ? Regards Arthur Brown > JNDIConnectionSource.activateOptions calls

Re: Bug in JNDIConnectionSource

2005-02-24 Thread James Stauffer
JNDIConnectionSource.activateOptions calls ConnectionSourceSkeleton.discoverConnnectionProperties which sets dialectCode but JNDIConnectionSource redeclares dialectCode from what is declared in the super class ConnectionSourceSkeleton. Developers, is it supposed to redeclare dialectCode? On Thu,

Re: Bug in JNDIConnectionSource

2005-02-24 Thread Arthur Brown
I do not adding anything new, I just try to use the class with Oracle 9, and it doesn't work. I'm getting the error: Unknown SQLDialect. After I've debugged it, I figured out, what I've described: the class JNDIConnectionSource returns all the time the own instance of SQLDialect attribute (UKN

Re: Bug in JNDIConnectionSource

2005-02-23 Thread James Stauffer
Are you trying to make a new OracleDialet? What is the bug in the current class? I guess I don't quite understand your problem and how you are trying to fix it. On Wed, 23 Feb 2005 09:18:05 +0100 (MET), Arthur Brown <[EMAIL PROTECTED]> wrote: > Hi James, > > no, I'm trying to use it with Oracle.

Re: Bug in JNDIConnectionSource

2005-02-23 Thread Arthur Brown
Hi James, no, I'm trying to use it with Oracle. However it cannot work with any dialect, because as I described, it has a bug. The dialect attribute is set in base class: ConnectionSourceSkeleton and the getter in the derived class JNDIConnectionSource getSQLDialectCode() is returning the attrib