persistence/play-jdbc-evolutions/src/main/java/play/db/evolutions/Evolutions.java
public static void applyEvolutions(
      Database database,
      play.api.db.evolutions.EvolutionsReader reader,
      boolean autocommit,
      String schema) {
    DatabaseEvolutions evolutions = new DatabaseEvolutions(database.asScala(), schema);
    evolutions.evolve(evolutions.scripts(reader), autocommit);
  }
public static void applyEvolutions(
      Database database,
      play.api.db.evolutions.EvolutionsReader reader,
      boolean autocommit,
      String schema) {
    DatabaseEvolutions evolutions = new DatabaseEvolutions(database.asScala(), schema);
    evolutions.evolve(evolutions.scripts(reader), autocommit);
  }
Apply evolutions for the given database.

@param database The database to apply the evolutions to.
@param reader The reader to read the evolutions.
@param autocommit Whether autocommit should be used.
@param schema The schema where all the play evolution tables are saved in