package org.wisdom.orientdb.object;

import com.orientechnologies.orient.object.db.OObjectDatabasePool;
import org.wisdom.api.model.Repository;

/**
 * The OrientDbRepository is a standard wisdom db Repository providing OrientDbCrud services.
 *
 * {@link org.wisdom.api.model.Repository}
 */
public interface OrientDbRepository extends Repository<OObjectDatabasePool> {

}

@@ -97,16 +97,81 @@
 sePool;%0A
+import com.orientechnologies.orient.object.db.OObjectDatabaseTx;%0A
 import o
@@ -430,10 +430,492 @@
 ool%3E %7B%0A%0A
+    /**%0A     * %3Cp%3E%0A     * Acquire %7B@link OObjectDatabaseTx%7D instance linked to this repository.%0A     * The return instance is attached to the local thread.%0A     * %3C/p%3E%0A     * %3Cp%3E%0A     * It must be closed to te release to the pool, it support try with resource%0A     * since %7B@link OObjectDatabaseTx%7D implements %7B@link AutoCloseable%7D.%0A     * %3C/p%3E%0A     *%0A     * @return An active %7B@link OObjectDatabaseTx%7D instance from this repository pool.%0A     */%0A    OObjectDatabaseTx acquireDb();%0A
 %7D%0A

Add acquireDb method