Interface DatabaseConfiguration

All Superinterfaces:
AutoCloseable
All Known Implementing Classes:
GenericDatabaseConfiguration

public interface DatabaseConfiguration extends AutoCloseable
Represents a configuration interface for managing database connections.

This interface provides methods to establish, retrieve, and close a database connection while handling different SQL operations.

  • Method Summary

    Modifier and Type
    Method
    Description
    void
    Closes the active database connection.
    void
    connect(String databaseName, SqlOperation sqlOperation)
    Establishes a connection to the specified database.
    Retrieves the active database connection.