eXist-db/exist — pull request #206 by shabanovd (2014-04-30 12:03:48+00:00)
Title: API change

This give a way for next patterns

try (DBBroker broker = db.authenticate("user", "passwd"))
{
//operations on database
}

and

try (Transaction tx = broker.beginTx())
{
//operations on database
tx.success();
}