On Aug 17, 2010, at 6:23 AM, jean-philippe serafin wrote:
ok, everything is working as expected
thanks, SQLAlchemy just rocks!
I've added a patch in ticket 1895:
http://www.sqlalchemy.org/trac/ticket/1895
The patch passes all tests, and will most likely be applied for SQLAlchemy 0.7
ok, thanks for your aswers, I'll try it tonight.
2010/8/17 Michael Bayer mike...@zzzcomputing.com
On Aug 16, 2010, at 4:20 AM, jean-philippe serafin wrote:
AbstractA is AbstractB base class.
AbstractB is ClassA base class
Everything work fine in this case.
I just
ok, everything is working as expected
thanks, SQLAlchemy just rocks!
2010/8/17 jean-philippe serafin serafi...@gmail.com
ok, thanks for your aswers, I'll try it tonight.
2010/8/17 Michael Bayer mike...@zzzcomputing.com
On Aug 16, 2010, at 4:20 AM, jean-philippe serafin wrote:
AbstractA is AbstractB base class.
AbstractB is ClassA base class
Everything work fine in this case.
I just want to set 'polymorphic_identity' on each inheritance level
if I set by hand : update abstract_a set class_name = 'class_a' :
AbstractA.query.first() give me back a
On Aug 16, 2010, at 4:20 AM, jean-philippe serafin wrote:
AbstractA is AbstractB base class.
AbstractB is ClassA base class
Everything work fine in this case.
I just want to set 'polymorphic_identity' on each inheritance level
if I set by hand : update abstract_a
Hi,
I've got a class mapping with two polymorphic inheritance :
class AbstractA(Base):
__tablename__ = abstract_a
id = Column(Integer, primary_key=True)
class_name = Column('class_name', String(50))
__mapper_args__ = {
'polymorphic_on': class_name,
}
#some
On Aug 15, 2010, at 6:52 AM, jean-philippe serafin wrote:
Hi,
I've got a class mapping with two polymorphic inheritance :
class AbstractA(Base):
__tablename__ = abstract_a
id = Column(Integer, primary_key=True)
class_name = Column('class_name', String(50))