In the documentation of Propel2 ORM (http://propelorm.org/documentation/05-transactions.html) there is an example how to wrap queries inside a transaction. The connection is made to a single database table "Account":
$con = Propel::getWriteConnection(AccountTableMap::DATABASE_NAME);
How can I get a global PDO connection object or a connection to 2 tables (e.g. "Account" and "Book")?
For example that's (in pseudocode) what I wish to have:
$con = Propel::getWriteConnection(AccountTableMap::DATABASE_NAME,
BookTableMap::DATABASE_NAME);