Package

org.gerweck.scala.util

jdbc

Permalink

package jdbc

Visibility
  1. Public
  2. All

Type Members

  1. class WrappedConnection extends Connection with WrapperWrapping[Connection]

    Permalink

    A wrapper around a JDBC java.sql.Connection.

    A wrapper around a JDBC java.sql.Connection.

    This is useful to allow you to override or wrap certain methods: you can use this as a base class and override just the methods you care about. Everything else will delegate to the underlying connection.

  2. class WrappedResultSet extends ResultSet with WrapperWrapping[ResultSet]

    Permalink

    A wrapper around a JDBC java.sql.ResultSet.

    A wrapper around a JDBC java.sql.ResultSet.

    This is useful to allow you to override or wrap certain methods: you can use this as a base class and override just the methods you care about. Everything else will delegate to the underlying connection.

  3. class WrappedStatement extends Statement with WrapperWrapping[Statement]

    Permalink

    A wrapper around a JDBC java.sql.Statement.

    A wrapper around a JDBC java.sql.Statement.

    This is useful to allow you to override or wrap certain methods: you can use this as a base class and override just the methods you care about. Everything else will delegate to the underlying connection.

  4. trait WrapperWrapping[+A <: Wrapper] extends Wrapper

    Permalink

    A parent trait that should be used for all the JDBC wrappers.

    A parent trait that should be used for all the JDBC wrappers.

    JDBC is designed to accommodate wrappers, and has a few special methods that can be used to penetrate wrappers to expose hidden interfaces. This trait provides standard implementations of those, plus implementations of hashCode and equals.

Ungrouped