Class/Object

wangzx.scala_commons.sql

RichConnection

Related Docs: object RichConnection | package sql

Permalink

class RichConnection extends AnyRef

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. RichConnection
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RichConnection(conn: Connection)

    Permalink

Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  5. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  6. val conn: Connection

    Permalink
  7. macro def createBatch[T](proc: (T) ⇒ SQLWithArgs): Batch[T]

    Permalink
  8. macro def createMysqlBatch[T](proc: (T) ⇒ SQLWithArgs): Batch[T]

    Permalink

    translate the "insert into table set a = ?, b = ?" into "insert into table(a,b) values(?,?)

  9. def eachRow[T](sql: SQLWithArgs)(f: (T) ⇒ Unit)(implicit arg0: ResultSetMapper[T]): Unit

    Permalink
  10. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  12. def executeUpdate(stmt: SQLWithArgs): Int

    Permalink
  13. def executeUpdateWithGenerateKey(stmt: SQLWithArgs)(processGenerateKeys: (ResultSet) ⇒ Unit = null): Int

    Permalink
  14. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  15. def generateKey[T](stmt: SQLWithArgs)(implicit arg0: JdbcValueAccessor[T]): T

    Permalink
  16. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  17. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  18. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  19. def joinRow2[T1, T2](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T1], arg1: ResultSetMapper[T2]): Option[(T1, T2)]

    Permalink
  20. def joinRow3[T1, T2, T3](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T1], arg1: ResultSetMapper[T2], arg2: ResultSetMapper[T3]): Option[(T1, T2, T3)]

    Permalink
  21. def joinRow4[T1, T2, T3, T4](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T1], arg1: ResultSetMapper[T2], arg2: ResultSetMapper[T3], arg3: ResultSetMapper[T4]): Option[(T1, T2, T3, T4)]

    Permalink
  22. def joinRows2[T1, T2](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T1], arg1: ResultSetMapper[T2]): List[(T1, T2)]

    Permalink
  23. def joinRows3[T1, T2, T3](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T1], arg1: ResultSetMapper[T2], arg2: ResultSetMapper[T3]): List[(T1, T2, T3)]

    Permalink
  24. def joinRows4[T1, T2, T3, T4](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T1], arg1: ResultSetMapper[T2], arg2: ResultSetMapper[T3], arg3: ResultSetMapper[T4]): List[(T1, T2, T3, T4)]

    Permalink
  25. final def ne(arg0: AnyRef): Boolean

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

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

    Permalink
    Definition Classes
    AnyRef
  28. def queryInt(sql: SQLWithArgs): Int

    Permalink
  29. def row[T](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T]): Option[T]

    Permalink
  30. def rows[T](sql: SQLWithArgs)(implicit arg0: ResultSetMapper[T]): List[T]

    Permalink
  31. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  33. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  36. def withStatement[T](f: (Statement) ⇒ T): T

    Permalink
  37. def withTransaction[T](f: (Connection) ⇒ T): T

    Permalink

Inherited from AnyRef

Inherited from Any

Ungrouped