JavaBigDecimalCodec
Attributes
- Graph
-
- Supertypes
- Self type
-
JavaBigDecimalCodec.type
Members list
Value members
Concrete methods
Syntax used when querying the db. For example,
Syntax used when querying the db. For example,
DbCodec[Int].queryRepr == "?"
DbCodec[(String, Boolean)].queryRepr = "(?, ?)"
case class User(id: Long, name: String) derives DbCodec DbCodec[User].queryRepr = "? ?"
Attributes
Read an E from the ResultSet starting at position pos
and ending after reading cols
number of columns. Make sure the ResultSet is in a valid state (ie, ResultSet::next has been called).
Read an E from the ResultSet starting at position pos
and ending after reading cols
number of columns. Make sure the ResultSet is in a valid state (ie, ResultSet::next has been called).
Attributes
Write the entity to the PreparedStatement starting at position pos
Write the entity to the PreparedStatement starting at position pos
Attributes
Inherited methods
Attributes
- Inherited from:
- DbCodec
Build every row in the ResultSet into a sequence of E. The ResultSet should be in its initial position before calling (ie, ResultSet::next not called).
Build every row in the ResultSet into a sequence of E. The ResultSet should be in its initial position before calling (ie, ResultSet::next not called).
Attributes
- Inherited from:
- DbCodec
Build an E from the ResultSet starting at position 1 and ending after reading cols
number of columns. Make sure the ResultSet is in a valid state (ie, ResultSet::next has been called).
Build an E from the ResultSet starting at position 1 and ending after reading cols
number of columns. Make sure the ResultSet is in a valid state (ie, ResultSet::next has been called).
Attributes
- Inherited from:
- DbCodec
Writes multiple entities to the preparedStatement via PreparedStatement::addBatch
Writes multiple entities to the preparedStatement via PreparedStatement::addBatch
Attributes
- Inherited from:
- DbCodec
Write the entity to the resultSet starting at position 1
Concrete fields
The java.sql.Types
constant for every "?" in queryRepr
. For mapping database-specific types, Types.JAVA_OBJECT is recommended.
The java.sql.Types
constant for every "?" in queryRepr
. For mapping database-specific types, Types.JAVA_OBJECT is recommended.