JdbcCodec

dataprism.jdbc.sql.JdbcCodec
See theJdbcCodec companion class
object JdbcCodec

Attributes

Companion
class
Source
JdbcCodec.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
JdbcCodec.type

Members list

Type members

Classlikes

Attributes

Source
JdbcCodec.scala
Supertypes
trait Serializable
class Object
trait Matchable
class Any
Self type

Value members

Concrete methods

def byClass[A <: AnyRef](name: String, sqlType: Int)(using c: ClassTag[A]): JdbcCodec[Option[A]]

Attributes

Source
JdbcCodec.scala
def failable[A](name: String, get: (ResultSet, Int) => Either[String, Option[A]], set: (PreparedStatement, Int, Option[A]) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]

Attributes

Source
JdbcCodec.scala
def simple[A](name: String, get: (ResultSet, Int) => Option[A], set: (PreparedStatement, Int, Option[A]) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]

Attributes

Source
JdbcCodec.scala
def withConnection[A](name: String, get: ResourceManager ?=> (ResultSet, Int, Connection) => Either[String, Option[A]], set: ResourceManager ?=> (PreparedStatement, Int, Option[A], Connection) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]

Attributes

Source
JdbcCodec.scala
def withWasNullCheck[A](name: String, sqlType: Int, get: (ResultSet, Int) => A, set: (PreparedStatement, Int, A) => Unit, box: A => AnyRef): JdbcCodec[Option[A]]

Attributes

Source
JdbcCodec.scala