[sqlalchemy] inheritied table with related field as discriminator?

2013-01-28 Thread Ben Hitz
Can I use a field from a related table as the polymorphic descriminator? This code no works: http://pastebin.com/LtRC2tSR Schematically: class Reference: reference_id reference_name class Parent: parent_id reference_id(ForeignKey='reference.reference_id') reference = relatio

Re: [sqlalchemy] Pool_recycle in Oracle (aka "Oracle has gone away")

2012-10-17 Thread Ben Hitz
that's not entirely accurate. The Flask-SQLAlchemy extension checks out a connection from the connection pool at request start, returns it at request end. The pool is responsible for dealing with the lifecycle of database connections and can be confiugured to deal with this. To deal with co

[sqlalchemy] Pool_recycle in Oracle (aka "Oracle has gone away")

2012-10-16 Thread Ben Hitz
a minimal test case to demonstrate where the problem is. Thanks for you time, and interested to hear thoughts. Ben -- Ben Hitz Senior Scientific Programmer ** Saccharomyces Genome Database ** GO Consortium Stanford University ** h...@stanford.edu -- You received this message because you