Ok, so to map CITEXT
, which is not a standard type JDBC knows about, we need a wrapper class and need to move the value back and forth via the generic PGobject
data type.
import org.postgresql.util.PGobject
case class CIText(s: String)
object CIText {