On Wed, May 7, 2008 at 1:55 PM, Simon Cross <[EMAIL PROTECTED]> wrote:

> On Wed, May 7, 2008 at 12:15 PM, Petr Jakeš <[EMAIL PROTECTED]> wrote:
> > Hi, trying to connect to the existing Firebird database from the Windows
> XP
> > machine, I am getting following strange Error:
>
> >
> "C:\Python25\lib\site-packages\sqlobject-0.10dev_r3187-py2.5.egg\sqlobject\main.py",
> > line 369, in addColumn
> >     setter = eval('lambda self, val: self._SO_setValue(%s, val, self.%s,
> > self.%s)' % (repr(name), '_SO_from_python_%s' % name, '_SO_to_python_%s'
> >  % name))
> >   File "<string>", line 1
> >     lambda self, val: self._SO_setValue('p$defkod', val,
> > self._SO_from_python_p$defkod, self._SO_to_python_p$defkod)
>
> It looks like a really strange column name (p$defkod) has somehow been
> introspected from the Firebird database. Do you have any columns with
> names similar to that?
>
> Yes, there are column names like OID$CENKTGM01, MJ$TYP, AU$VYNOSY,
AU$VYNOSY, AU$ZASOBY etc. in the table.
The designer of the database is saying such a names are alowed according to
the ANSI-92 SQL.

Petr
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
sqlobject-discuss mailing list
sqlobject-discuss@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sqlobject-discuss

Reply via email to