Re: [sqlalchemy] Bulk inserting rows into a dynamically created table.

2015-10-06 Thread Nana Okyere
Any take on this? I realize it may not be sqlalchemy specific. -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to sqlalchemy+unsubscr...@googlegroups.com. To post to

[sqlalchemy] SQLAlchemy under Jython fails with Maximum Recursion Depth Exceeded

2015-10-06 Thread Michael Naber
Hopefully this should be pretty straightforward. I'm running the following example which fails under Jython 2.7.0 with postgresql-9.4-1203.jdbc42.jar using sqlalchemy 1.0.8 with PostgreSQL 9.3.9 on Ubuntu 14.04. Any help would be much appreciated. Example and stack trace below: from sqlalchemy

Re: [sqlalchemy] Re: SQLAlchemy under Jython fails with Maximum Recursion Depth Exceeded

2015-10-06 Thread Mike Bayer
SQLAlchemy is not supporting Jython right now - the interpreter invariably has too many issues for us to constantly keep chasing them down. On 10/6/15 1:36 PM, Michael Naber wrote: > It could be due to this: > http://sourceforge.net/p/jython/mailman/message/34131065/ > > On Tue, Oct 6, 2015 at

Re: [sqlalchemy] Bulk inserting rows into a dynamically created table.

2015-10-06 Thread Mike Bayer
Have you looked through the general techniques of creating Table objects at http://docs.sqlalchemy.org/en/rel_1_0/core/metadata.html? If you have a list of attribute names, you can programmatically create a Table object from that. On 10/6/15 10:39 AM, Nana Okyere wrote: > Any take on this? I

Re: [sqlalchemy] Bulk inserting rows into a dynamically created table.

2015-10-06 Thread Nana Okyere
Mike, The table creation part is done. My question is about how to insert rows/data into a table that is dynamically created. This dynamically created table is not represented by a class or anything in sqlalchemy. I'm just wondering if you know of a nice way to do bulk / mass inserts into

Re: [sqlalchemy] Bulk inserting rows into a dynamically created table.

2015-10-06 Thread Mike Bayer
On 10/6/15 3:48 PM, Nana Okyere wrote: > Mike, > > The table creation part is done. My question is about how to insert > rows/data into a table that is dynamically created. This dynamically > created table is not represented by a class or anything in sqlalchemy. if the table is there you can

[sqlalchemy] Re: Bulk inserting rows into a dynamically created table.

2015-10-06 Thread Nana Okyere
Nice! I had seen reflection before but I didn't know this is what it meant. Anyway, do I have to reflect the table every time the table's structure changes? The application I'm building has the ability to add or remove columns on the dynamically created table. Can I repeat the reflection code

[sqlalchemy] Re: Unexpected missing join when using joined table inheritance

2015-10-06 Thread Will Angenent
Thanks, that's helpful. We should be able to use both solutions. Thanks for the clarification! -- You received this message because you are subscribed to the Google Groups "sqlalchemy" group. To unsubscribe from this group and stop receiving emails from it, send an email to

[sqlalchemy] Re: SQLAlchemy under Jython fails with Maximum Recursion Depth Exceeded

2015-10-06 Thread Michael Naber
It could be due to this: http://sourceforge.net/p/jython/mailman/message/34131065/ On Tue, Oct 6, 2015 at 11:35 AM, Michael Naber wrote: > Hopefully this should be pretty straightforward. I'm running the following > example which fails under Jython 2.7.0 with