case class PStatement(sql: String)(implicit conn: Connection) extends Product with Serializable
Created by Peerapat A on Feb 5, 2017
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- PStatement
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new PStatement(sql: String)(implicit conn: Connection)
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def addBatch(): PStatement
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def executeBatch: Array[Int]
-
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def query: ResultSet
- def queryLimit[A](max: Int, block: (ResultSet) ⇒ A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- def queryLimit[A](max: Int)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- def queryList[A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- def queryList[A](block: (ResultSet) ⇒ A): List[A]
- def queryOne[A](implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): Option[A]
- def queryOne[A](block: (ResultSet) ⇒ A): Option[A]
- def setBlob(ind: Int, param: Blob): PStatement
- def setBlob(param: Blob): PStatement
- def setBoolean(ind: Int, param: Boolean): PStatement
- def setBoolean(param: Boolean): PStatement
- def setDateTime(ind: Int, param: DateTime): PStatement
- def setDateTime(param: DateTime): PStatement
- def setDouble(ind: Int, param: Double): PStatement
- def setDouble(param: Double): PStatement
- def setInt(ind: Int, param: Int): PStatement
- def setInt(param: Int): PStatement
- def setJBoolean(ind: Int, param: JBoolean): PStatement
- def setJBoolean(param: JBoolean): PStatement
- def setJDouble(ind: Int, param: JDouble): PStatement
- def setJDouble(param: JDouble): PStatement
- def setJInt(ind: Int, param: JInt): PStatement
- def setJInt(param: JInt): PStatement
- def setJLong(ind: Int, param: JLong): PStatement
- def setJLong(param: JLong): PStatement
- def setLong(ind: Int, param: Long): PStatement
- def setLong(param: Long): PStatement
- def setString(ind: Int, param: String): PStatement
- def setString(param: String): PStatement
- def setTimestamp(ind: Int, param: Timestamp): PStatement
- def setTimestamp(param: Timestamp): PStatement
- val sql: String
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
- def update: Int
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
Deprecated Value Members
-
def
queryRange[A](offset: Int, length: Int, block: (ResultSet) ⇒ A)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- offset
is index of list start from 0
- length
is size of return record
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0) Performance Issues, Please aviod to use till it fixed
-
def
queryRange[A](offset: Int, length: Int)(implicit arg0: scala.reflect.api.JavaUniverse.TypeTag[A], arg1: ClassTag[A]): List[A]
- offset
is index of list start from 0
- length
is size of return record
- Annotations
- @deprecated
- Deprecated
(Since version 1.5.0) Performance Issues, Please aviod to use till it fixed