droitatedDB/src/main/java/org/droitateddb/EntityService.java
public void resolveAssociations(final E data, final int maxDepth) {
        SQLiteDatabase database = openDB();
        try {
            new DatabaseResolver(context, database).resolve(data, 0, maxDepth);
        } finally {
            closeDB(database);
        }
    }
public void resolveAssociations(final E data, final int maxDepth) {
        SQLiteDatabase database = openDB();
        try {
            new DatabaseResolver(context, database).resolve(data, 0, maxDepth);
        } finally {
            closeDB(database);
        }
    }
Resolves the associations to a given {@link Entity} object. The associations will only be resolved to the given
depth within the object graph.

@param data     {@link Entity} on which the associations should be resolved
@param maxDepth The maximum depth to which the associations should be resolved