Class DatabaseUtils

java.lang.Object
com.atlassian.confluence.util.db.DatabaseUtils

public class DatabaseUtils extends Object
This class contains database related utilities.
Since:
5.9.1
  • Method Details

    • evaluationDatabaseName

      public static Optional<String> evaluationDatabaseName()
      Returns the name of the currently used evaluation database or empty if using a production database.
      Returns:
      name of the currently used evaluation database
    • evaluationDatabaseName

      public static Optional<String> evaluationDatabaseName(BootstrapManager bootstrapManager)
      Returns the name of the currently used evaluation database or empty if using a production database.
      Parameters:
      bootstrapManager - the BootstrapManager
      Returns:
      name of the currently used evaluation database