Annotation Type AutoConfigureTestDatabase

    • Optional Element Summary

      Optional Elements 
      Modifier and TypeOptional ElementDescription
      org.springframework.boot.autoconfigure.jdbc.EmbeddedDatabaseConnectionconnection
      Deprecated.
      The type of connection to be established when replacing the data source.
      AutoConfigureTestDatabase.Replacereplace
      Deprecated.
      Determines what type of existing DataSource beans can be replaced.
    • Element Detail

      • replace

        AutoConfigureTestDatabase.Replace replace
        Deprecated.
        Determines what type of existing DataSource beans can be replaced.
        Returns:
        the type of existing DataSource to replace
        Default:
        org.springframework.boot.test.autoconfigure.orm.jpa.AutoConfigureTestDatabase.Replace.ANY
      • connection

        org.springframework.boot.autoconfigure.jdbc.EmbeddedDatabaseConnection connection
        Deprecated.
        The type of connection to be established when replacing the data source. By default will attempt to detect the connection based on the classpath.
        Returns:
        the type of connection to use
        Default:
        org.springframework.boot.autoconfigure.jdbc.EmbeddedDatabaseConnection.NONE