Class StoredConnections.DataSourceConfigBuilder

java.lang.Object
com.invirgance.convirgance.jdbc.StoredConnections.DataSourceConfigBuilder
Enclosing class:
StoredConnections

public static class StoredConnections.DataSourceConfigBuilder extends Object
Builds the DataSourceConfig for the driver of a StoredConnection.
  • Method Details

    • build

      public StoredConnection build()
      Builds the parent with the options setup by this builder.
      Returns:
      The built StoredConnection.
    • done

      Returns the parent builder, for further configuration. Example: After calling this you could now use the DriverConfigBuilder if needed.
      Returns:
      The parent builder.
    • property

      Sets the property of the DataSource for a StoredConnection's Driver. Example: assigning the Oracle Thin Driver's 'explicitCachingEnabled' property to 'true'.
      Parameters:
      name - The property name.
      value - The value to set.
      Returns:
      This builder.