Lacking implicit for fields of type Array[Byte]
The following does not work:
because there's no byteArray2ScalarByteArray implicit in DslFactory. I presume one should exist.
object MySchema extends Schema {
class Record extends KeyedEntity[Int] {
val id = 0
val data :Array[Byte]
}
val records = table[Record]
def updateData (id :Int, data :Array[Byte]) = {
records.update(r => where(r.id === id) set(r.data := data))
}
}
because there's no byteArray2ScalarByteArray implicit in DslFactory. I presume one should exist.
Leave a comment