OTransaction - getDatabase()
Retrieves the database on which the transaction is running.
Transactions run on particular databases, or more specifically within an
ODatabaseDocument instance. In the event that you need to operate on the database currently running the transaction, you can use this method to retrieve it.
This method returns an
ODatabaseDocument instance, which represents the database on which the transaction is running.