I ended up writing my own data type that gets the clob as a string... but what about having a data type that depends on an annotation instead of a new class? Say:
Copy code
@KomapperEntity
data class FooEntity(@KomapperType(ClobStringType::class) val sometext: String)
t
Toshihiro Nakamura
01/13/2023, 12:53 PM
I would like to recommend another way. How about converting
Yeah, but it's a bit of a waste to have to create all those extra wrapper objects -- unless user defined data types can use value classes? But that would still mean to access these fields indirectly through the value class's property...
dave08
01/15/2023, 1:18 PM
Nope, it seems like value classes ignore the user defined data types...