Class WireDatabaseConnection

    • Constructor Detail

      • WireDatabaseConnection

        public WireDatabaseConnection​(IConnectionProperties connectionProperties)
                               throws java.sql.SQLException
        Creates a WireDatabaseConnection (without establishing a connection to the server) with the default protocol collection.
        Parameters:
        connectionProperties - Connection properties
        Throws:
        java.sql.SQLException
      • WireDatabaseConnection

        public WireDatabaseConnection​(IConnectionProperties connectionProperties,
                                      IEncodingFactory encodingFactory,
                                      ProtocolCollection protocols)
                               throws java.sql.SQLException
        Creates a WireDatabaseConnection (without establishing a connection to the server).
        Parameters:
        connectionProperties - Connection properties
        encodingFactory - Factory for encoding definitions
        protocols - The collection of protocols to use for this connection.
        Throws:
        java.sql.SQLException