[sqlalchemy] Re: sqlacodegen getting error

2022-11-13 Thread Ajay Raikar
Hey Ciao lele, Thanks for your reply. I will report this to sqlacodegen team. Also, can you suggest any other good ORM that can auto-generate DB classes...? Thanks & Regards, Ajay Raikar On Sunday, 13 November 2022 at 18:09:26 UTC+5:30 leleg...@gmail.com wrote: > Ajay Raikar

[sqlalchemy] sqlacodegen getting error

2022-11-13 Thread Ajay Raikar
Hi Team, I have installed a fresh project in which i wanted to generate ms-sql db class models with help of sqlacodegen I was not able to do that getting this error as attached in screenshot. Also I did the pip check it says no broken requirement. Even I tried down grading SQLAlchemy to

[sqlalchemy] Is Engine instance object threadsafe?

2011-03-30 Thread Ajay
We use sqlalchemy 0.4.6 with elixir 0.5.2 and zope. Below is some excerpt to show how we currently create/manage one engine instance per zope thread. From what I understand from reading the documentation, the 'connection' and 'transaction' objects themselves are not thread safe - but the engine

[sqlalchemy] Re: InvalidRequestError

2011-03-14 Thread Ajay
, each thread gets it's own session object and session objects are not shared among threads. Again appreciate your help with this. thanks! Ajay On Mar 12, 11:38 am, Michael Bayer mike...@zzzcomputing.com wrote: On Mar 11, 2011, at 7:51 PM, AJAY PATTNI wrote: We use sqlalchemy 0.4.6

[sqlalchemy] InvalidRequestError

2011-03-12 Thread AJAY PATTNI
We use sqlalchemy 0.4.6 with Elixir 0.5.2 and zope.sqlalchemy Every once a while we get this error(see below): In a previous thread somebody said, just 'rollback your session when the exception is raised'? We use a global session as follows: __session__ =