Re: [SQLObject] overriden column trouble

2007-06-12 Thread Oleg Broytmann
On Tue, Jun 12, 2007 at 09:58:53AM -0400, Stanko Petrovic wrote: > At work we are usign pyodbc with sqlobject0.7.7 to talk to sqlserver. I am > not sure if anybody is intrested but I can ask to post some code how to do > it is > preaty easy Please do. Oleg. -- Oleg Broytmannh

Re: [SQLObject] overriden column trouble

2007-06-12 Thread Stanko Petrovic
Thank you Oleg I own you a beer for this!!! At work we are usign pyodbc with sqlobject0.7.7 to talk to sqlserver. I am not sure if anybody is intrested but I can ask to post some code how to do it is preaty easy, Nice thing is you can use py2exe and InnoSetup to make a setup

Re: [SQLObject] overriden column trouble

2007-06-12 Thread Oleg Broytmann
On Tue, Jun 12, 2007 at 09:35:13AM -0400, Stanko Petrovic wrote: > I am coverting code from sqlobject 0.6.1 to 0.7.7 > and in 0.6.1 they used to have > > self._SO_creating attribute which we do not have in 0.7.7 > > is there anything that I can use instead of _SO_creating self.sqlmeta._creati

Re: [SQLObject] overriden column trouble

2007-06-12 Thread Stanko Petrovic
Thanks Oleg I am coverting code from sqlobject 0.6.1 to 0.7.7 and in 0.6.1 they used to have self._SO_creating attribute which we do not have in 0.7.7 is there anything that I can use instead of _SO_creating On 6/12/07, Oleg Broytmann <[EMAIL PROTECTED]> wrote: On Mon, Jun 11, 2007 at 04:24

Re: [SQLObject] overriden column trouble

2007-06-12 Thread Oleg Broytmann
On Mon, Jun 11, 2007 at 04:24:11PM -0400, Stanko Petrovic wrote: > class Testadd(so.SQLObject): >class sqlmeta: >style = so.MixedCaseStyle(longID=True) >table = 'testadd' > >Name = so.StringCol() >BufferSize = so.FloatCol( default = 0.0 ) > >def _set_BufferSize(sel

[SQLObject] overriden column trouble

2007-06-11 Thread Stanko Petrovic
Hi I am using sqlobject-0.7.7a_r2689-py2.4.egg with sql server and I stumble on this problem this what I have class Testadd(so.SQLObject): class sqlmeta: style = so.MixedCaseStyle(longID=True) table = 'testadd' Name = so.StringCol() BufferSize = so.FloatCol( default = 0.0