On Nov 14, 2009, at 10:44 AM, Jacek Kałucki wrote:
> I'm afraid, that is not so easy to fix it.
> Here is second problem:
>
> File "C:\Python25\lib\site-packages\dabo\biz\dBizobj.py", line 47, in
> __init__
> self.setConnection(conn)
> File "C:\Python25\lib\site-packages\dabo\biz\dBizobj.py", line 120,
> in setConnection
> self.createCursor()
> File "C:\Python25\lib\site-packages\dabo\biz\dBizobj.py", line 184,
> in createCursor
> crs.requery()
> File "c:\python25\lib\site-packages\dabo\db\dCursorMixin.py", line
> 437, in requery
> self.execute(currSQL, params, _newQuery=newQuery)
> File "c:\python25\lib\site-packages\dabo\db\dCursorMixin.py", line
> 332, in execute
> raise dException.DBQueryException(errMsg, sql)
> dabo.dException.DBQueryException: syntax error at or near "limit"
> LINE 3: limit 1000
> ^
> SQL: select *
> from
> limit 1000
>
>
> As you see, query has no table name.
Can you post the code you are using to create the bizobj? I just want
to make sure that the only other param that is needed initially is
DataSource.
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev
Searchable Archives: http://leafe.com/archives/search/dabo-dev
This message:
http://leafe.com/archives/byMID/[email protected]