[sqlalchemy] getting 'No database selected' randomly from session

2015-06-02 Thread eli rashlin
Hi, I have a very strange behavior, I have a program that uses bulk insertions to the DB. for some reason the process which iterate on one table and create bulk and insert into another table fails with the error of 'No database selected'. this is how I bind the session:

Re: [sqlalchemy] getting 'No database selected' randomly from session

2015-06-02 Thread Mike Bayer
On 6/2/15 5:52 AM, eli rashlin wrote: Hi, I have a very strange behavior, I have a program that uses bulk insertions to the DB. for some reason the process which iterate on one table and create bulk and insert into another table fails with the error of 'No database selected'. this is