Class WireDatabaseConnection

All Implemented Interfaces:
Closeable, AutoCloseable

public final class WireDatabaseConnection extends WireConnection<IConnectionProperties,FbWireDatabase>
Wire connection instance for connecting to a database
Since:
3.0
Author:
Mark Rotteveel
  • Constructor Details

    • WireDatabaseConnection

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

      public WireDatabaseConnection(IConnectionProperties connectionProperties, IEncodingFactory encodingFactory, ProtocolCollection protocols) throws 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:
      SQLException
  • Method Details