633634635636637638639640641642643
assertNotNull(root); broker.saveCollection(transaction, root); transact.commit(transaction); } catch (Exception e) { transact.abort(transaction); e.printStackTrace(); fail(e.getMessage()); } finally { if (pool != null) pool.release(broker);
6566676869707172737475
assertNotNull(config); broker.removeCollection(transaction, config); transact.commit(transaction); } catch (Exception e) { transact.abort(transaction); e.printStackTrace(); fail(e.getMessage()); } finally { if (pool != null) pool.release(broker); }
676677678679680681682683684685686
708709710711712713714715716717718
assertNotNull(info); root.store(transaction, broker, info, xml, false); transact.commit(transaction); } catch (Exception e) { transact.abort(transaction); e.printStackTrace(); fail(e.getMessage()); } finally { pool.release(broker); }
156157158159160161162163164165166
transact.commit(txn); } catch (Exception e) { if(transact != null && txn != null) { transact.abort(txn); } throw e; } finally { if(broker != null) { pool.release(broker);
188189190191192193194195196197198
980981982983984985986987988989990
checkIndex(docs, broker, qnattr, "attribute", 0); transact.commit(transaction); } catch (Exception e) { if (transact != null) transact.abort(transaction); e.printStackTrace(); fail(e.getMessage()); } finally { if (pool != null) { pool.release(broker);
10721073107410751076107710781079108010811082
11571158115911601161116211631164116511661167
assertEquals("armchair", o[0].getTerm()); transact.commit(transaction); } catch (Exception e) { if (transact != null) transact.abort(transaction); e.printStackTrace(); fail(e.getMessage()); } finally { if (pool != null) { pool.release(broker);
11931194119511961197119811991200120112021203
docs.add(info.getDocument()); transact.commit(transaction); } catch (Exception e) { if (transact != null) transact.abort(transaction); e.printStackTrace(); fail(e.getMessage()); } finally { pool.release(broker); }