>
> > > 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.
> >
> > SQLObject currently allows only columns that are proper Python
> identifiers.
>
> The workaround is like this:
>
> class MyTable(SQLObject):
> column = StringCol(dbName="a$column")
>
> though I am not sure it would help in all cases.
>
> Thanks Oleg, I was reading about this feature of SQLObject. But my feeling
was it is necessary to
type all column names manually if the
class sqlmeta:
fromDatabase = True
is not used.
To be more specific, I mean it is necessary to type in all column names used
in the tabel, not just some of them.
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