Interface ConnectionSource

    • Method Detail

      • getConnection

        java.sql.Connection getConnection()
                                   throws java.sql.SQLException
        This should return a new connection every time it is called.
        Returns:
        the SQL connection object.
        Throws:
        java.sql.SQLException - if a database error occurs.
      • toString

        java.lang.String toString()
        All implementations must override Object.toString() to provide information about the connection configuration (obscuring passwords with one-way hashes).
        Overrides:
        toString in class java.lang.Object
        Returns:
        the string representation of this connection source.