Re: XRowLocate::findColumn API definition ambiguities

2013-09-17 Thread Lionel Elie Mamane
On Thu, Sep 12, 2013 at 10:45:11AM +0100, Andrzej Hunt wrote: > One thing I've not yet done is update > ucbhelper/source/provider/propertyvalueset.cxx -- ucbhelper isn't linked > against connectivity at the moment so can't make use of the same > dbexception helper stuff -- I could make it throw th

Re: XRowLocate::findColumn API definition ambiguities

2013-09-12 Thread Andrzej Hunt
On Wed, 2013-09-11 at 11:20 +0200, Lionel Elie Mamane wrote: > On Tue, Sep 10, 2013 at 09:56:50PM +0100, Andrzej Hunt wrote: > > > The definition of XRowLocate::findColumn, and its implementations, all > > seem to be slightly confused. > > > XRowLocate doesn't specify what should happen what happ

Re: XRowLocate::findColumn API definition ambiguities

2013-09-11 Thread Lionel Elie Mamane
On Tue, Sep 10, 2013 at 09:56:50PM +0100, Andrzej Hunt wrote: > The definition of XRowLocate::findColumn, and its implementations, all > seem to be slightly confused. > XRowLocate doesn't specify what should happen what happens if > findColumn is called for an invalid column name. You mean XColu

Re: XRowLocate::findColumn API definition ambiguities

2013-09-11 Thread Fernand Vanrie
Andrzej , maybe also implement a "HasColumn" to made the use of "FindColumn" more secure Greetz Fernand Hi everyone, The definition of XRowLocate::findColumn, and its implementations, all seem to be slightly confused. XRowLocate doesn't specify what should happen what happens if findColumn

XRowLocate::findColumn API definition ambiguities

2013-09-10 Thread Andrzej Hunt
Hi everyone, The definition of XRowLocate::findColumn, and its implementations, all seem to be slightly confused. XRowLocate doesn't specify what should happen what happens if findColumn is called for an invalid column name. Currently some drivers return -1, some drivers return the number of colu