/**
* Is the associated database non-null and open? ODMG 3.0 says it must be.
*/
if ((curDB == null) || !curDB.isOpen())
{
throw new DatabaseClosedException("Database is not open. Must have an open DB to begin the Tx.");
}
if (isOpen())
{
log.error("Transaction is already open");
throw new org.odmg.TransactionInProgressException("Impossible to call begin on already opened tx");