Trait

org.gerweck.scala.util.jdbc

ThrowingConnection

Related Doc: package jdbc

Permalink

trait ThrowingConnection extends Connection with ThrowingWrapper

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.

Source
ThrowingConnection.scala
Linear Supertypes
ThrowingWrapper, Connection, AutoCloseable, Wrapper, AnyRef, Any
Type Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ThrowingConnection
  2. ThrowingWrapper
  3. Connection
  4. AutoCloseable
  5. Wrapper
  6. AnyRef
  7. Any
Implicitly
  1. by RichWrapper
  2. by any2stringadd
  3. by StringFormat
  4. by Ensuring
  5. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to any2stringadd[ThrowingConnection] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (ThrowingConnection, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to ArrowAssoc[ThrowingConnection] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  6. def abort(arg0: Executor): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  7. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  8. def clearWarnings(): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  9. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def close(): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection → AutoCloseable
  11. def commit(): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  12. def createArrayOf(arg0: String, arg1: Array[AnyRef]): Array

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  13. def createBlob(): Blob

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  14. def createClob(): Clob

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  15. def createNClob(): NClob

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  16. def createSQLXML(): SQLXML

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  17. def createStatement(): Statement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  18. def createStatement(arg0: Int, arg1: Int): Statement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  19. def createStatement(arg0: Int, arg1: Int, arg2: Int): Statement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  20. def createStruct(arg0: String, arg1: Array[AnyRef]): Struct

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  21. def ensuring(cond: (ThrowingConnection) ⇒ Boolean, msg: ⇒ Any): ThrowingConnection

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to Ensuring[ThrowingConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  22. def ensuring(cond: (ThrowingConnection) ⇒ Boolean): ThrowingConnection

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to Ensuring[ThrowingConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  23. def ensuring(cond: Boolean, msg: ⇒ Any): ThrowingConnection

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to Ensuring[ThrowingConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  24. def ensuring(cond: Boolean): ThrowingConnection

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to Ensuring[ThrowingConnection] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  25. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  26. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  27. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  28. def formatted(fmtstr: String): String

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to StringFormat[ThrowingConnection] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @inline()
  29. def getAutoCommit(): Boolean

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  30. def getCatalog(): String

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  31. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  32. def getClientInfo(arg0: String): String

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  33. def getClientInfo(): Properties

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  34. def getHoldability(): Int

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  35. def getMetaData(): DatabaseMetaData

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  36. def getNetworkTimeout(): Int

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  37. def getSchema(): String

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  38. def getTransactionIsolation(): Int

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  39. def getTypeMap(): Map[String, Class[_]]

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  40. def getWarnings(): SQLWarning

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  41. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  42. val inner: Wrapper

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to RichWrapper performed by method RichWrapper in org.gerweck.scala.util.jdbc.
    Definition Classes
    RichWrapper
  43. def isClosed(): Boolean

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  44. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  45. def isReadOnly(): Boolean

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  46. def isValid(arg0: Int): Boolean

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  47. def isWrapperFor(clazz: Class[_]): Boolean

    Permalink
    Definition Classes
    ThrowingWrapper → Wrapper
  48. def nativeSQL(arg0: String): String

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  49. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  50. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  51. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  52. def prepareCall(arg0: String): CallableStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  53. def prepareCall(arg0: String, arg1: Int, arg2: Int): CallableStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  54. def prepareCall(arg0: String, arg1: Int, arg2: Int, arg3: Int): CallableStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  55. def prepareStatement(arg0: String): PreparedStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  56. def prepareStatement(arg0: String, arg1: Int, arg2: Int): PreparedStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  57. def prepareStatement(arg0: String, arg1: Int, arg2: Int, arg3: Int): PreparedStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  58. def prepareStatement(arg0: String, arg1: Int): PreparedStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  59. def prepareStatement(arg0: String, arg1: Array[Int]): PreparedStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  60. def prepareStatement(arg0: String, arg1: Array[String]): PreparedStatement

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  61. def releaseSavepoint(arg0: Savepoint): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  62. def rollback(): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  63. def rollback(arg0: Savepoint): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  64. def setAutoCommit(arg0: Boolean): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  65. def setCatalog(arg0: String): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  66. def setClientInfo(arg0: String, arg1: String): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  67. def setClientInfo(arg0: Properties): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  68. def setHoldability(arg0: Int): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  69. def setNetworkTimeout(arg0: Executor, arg1: Int): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  70. def setReadOnly(arg0: Boolean): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  71. def setSavepoint(): Savepoint

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  72. def setSavepoint(arg0: String): Savepoint

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  73. def setSchema(arg0: String): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  74. def setTransactionIsolation(arg0: Int): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  75. def setTypeMap(arg0: Map[String, Class[_]]): Unit

    Permalink
    Definition Classes
    ThrowingConnection → Connection
  76. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  77. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  78. def unwrap[T](clazz: Class[T]): T

    Permalink
    Definition Classes
    ThrowingWrapper → Wrapper
  79. def unwrapOption[A](implicit ev: ClassTag[A]): Option[A]

    Permalink

    An extension method to make it more Scala-style to use a java.sql.Wrapper.

    An extension method to make it more Scala-style to use a java.sql.Wrapper.

    A

    the type of the target object to attempt to unwrap

    returns

    an scala.Option that will be defined if the class was a wrapper, and undefined otherwise.

    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to RichWrapper performed by method RichWrapper in org.gerweck.scala.util.jdbc.
    Definition Classes
    RichWrapper
  80. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  81. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  82. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  83. def [B](y: B): (ThrowingConnection, B)

    Permalink
    Implicit information
    This member is added by an implicit conversion from ThrowingConnection to ArrowAssoc[ThrowingConnection] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Inherited from ThrowingWrapper

Inherited from Connection

Inherited from AutoCloseable

Inherited from Wrapper

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion RichWrapper from ThrowingConnection to RichWrapper

Inherited by implicit conversion any2stringadd from ThrowingConnection to any2stringadd[ThrowingConnection]

Inherited by implicit conversion StringFormat from ThrowingConnection to StringFormat[ThrowingConnection]

Inherited by implicit conversion Ensuring from ThrowingConnection to Ensuring[ThrowingConnection]

Inherited by implicit conversion ArrowAssoc from ThrowingConnection to ArrowAssoc[ThrowingConnection]

Ungrouped