code: public void resolveAssociations(final E data) {
          SQLiteDatabase database = openDB();
          try {
              new DatabaseResolver(context, database).resolve(data, 0, Integer.MAX_VALUE);
          } finally {
              closeDB(database);
          }
      }
docs: Resolves the associations to a given {@link Entity} object and all underlying associations within the object
  graph.
  
  @param data {@link Entity} on which the associations should be resolved