Methods in gate.db that throw OpenTransactionsException |
void |
Database.release()
Frees the allocated resources (closes all the open connections). |
void |
TestDB.tearDown()
Close the db connections |
void |
TestDB.doTestCorpus(Database db)
Creates a new transient corpus;
Creates a new transient document and adds it to the newcorpus;
Creates a persistent corpus starting from the transient one;
Closes the database connection;
Re-opens the database connection;
Retrieves the previuosly created corpus and checks its contents. |
void |
TestDB.testCorpus()
|