Package

org.gerweck.scala.util

jdbc

Permalink

package jdbc

Content Hierarchy
Visibility
  1. Public
  2. All

Type Members

  1. trait ThrowingConnection extends Connection with ThrowingWrapper

    Permalink

    A JDBC java.sql.Connection that throws an exception for all methods.

    A JDBC java.sql.Connection that throws an exception for all methods.

    This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.

  2. trait ThrowingPreparedStatement extends ThrowingStatement with PreparedStatement

    Permalink

    A JDBC java.sql.PreparedStatement.

    A JDBC java.sql.PreparedStatement. that throws an exception for all methods.

    This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.

  3. trait ThrowingResultSet extends ResultSet with ThrowingWrapper

    Permalink

    A JDBC java.sql.ResultSet.

    A JDBC java.sql.ResultSet. that throws an exception for all methods.

    This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.

  4. class ThrowingStatement extends Statement with ThrowingWrapper

    Permalink

    A JDBC java.sql.Statement.

    A JDBC java.sql.Statement. that throws an exception for all methods.

    This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.

  5. trait ThrowingWrapper extends Wrapper

    Permalink

    A JDBC java.sql.Wrapper.

    A JDBC java.sql.Wrapper. that throws an exception for all methods.

    This is useful as a base class for a very limited implementation. You probably don't want to use this for a real driver, because you won't be able to easily tell what you have and haven't implemented.

  6. 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.

  7. 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.

  8. 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.

  9. 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