Change-Id: I249b0dcf8d5ebff3c6b72c0e4deb270f0275d3a4
q = query(Object.id, Object.name,
func.count(Object.number)).group_by(Object.id, Object.name)
+* Beware of the `InvalidRequestError <http://docs.sqlalchemy.org/en/rel_0_8/faq.html#this-session-s-transaction-has-been-rolled-back-due-to-a-previous-exception-during-flush-or-similar>`_ exception.
+ There is even a `Neutron bug <https://bugs.launchpad.net/neutron/+bug/1409774>`_
+ registered for it. Bear in mind that this error may also occur when nesting
+ transaction blocks, and the innermost block raises an error without proper
+ rollback. Consider if `savepoints <http://docs.sqlalchemy.org/en/rel_1_0/orm/session_transaction.html#using-savepoint>`_
+ can fit your use case.
System development
~~~~~~~~~~~~~~~~~~