Interface ConnectionFactory

  • All Known Implementing Classes:
    DefaultConnectionFactory

    public interface ConnectionFactory
    Factory for creating connection objects.
    • Method Detail

      • createConnection

        Connection createConnection​(ConnectionSettings settings)
        Create a new JDBC connection. Implementation must allow this method to be called multiple times and by multiple threads.
        Parameters:
        settings - the connection settings
        Returns:
        a newly-created JDBC connection.