| | |
| | | */ |
| | | public Transaction beginOperationTransaction() throws DatabaseException |
| | | { |
| | | Transaction txn = beginTransaction(); |
| | | return txn; |
| | | return beginTransaction(); |
| | | } |
| | | |
| | | /** |
| | |
| | | */ |
| | | public Transaction beginOperationTransaction() throws DatabaseException |
| | | { |
| | | Transaction txn = beginTransaction(); |
| | | return txn; |
| | | return beginTransaction(); |
| | | } |
| | | |
| | | /** |
| | |
| | | } |
| | | |
| | | /** |
| | | * Get a list of the databases opened by this entryContainer. |
| | | * Close cursors in the indexes of the context. |
| | | * |
| | | * @throws DatabaseException If a database error occurs. |
| | | */ |
| | | public void closeIndexCursors() throws DatabaseException { |
| | | id2children.closeCursor(); |
| | | id2subtree.closeCursor(); |
| | | for (AttributeIndex index : attrIndexMap.values()) |
| | | { |
| | | index.closeCursors(); |
| | | } |
| | | } |
| | | |
| | | |
| | | /** |
| | | * Get a list of the databases opened by the entryContainer. |
| | | * @param dbList A list of database containers. |
| | | */ |
| | | public void listDatabases(List<DatabaseContainer> dbList) |