Annotation Type AutoConfigureTestDatabase

    • Optional Element Summary

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

        org.springframework.boot.jdbc.EmbeddedDatabaseConnection connection
        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.jdbc.EmbeddedDatabaseConnection.NONE