Home > Back-end >  Mybatis receive vo with CLOB type fields
Mybatis receive vo with CLOB type fields

Time:03-23

Vo in mybatis I use a Java, SQL, CLOB types of properties to receive the database inside a CLOB type of field, the results returned fileData attribute has not null, id can get value
 & lt; ResultMap id="outageAndRecoveryMap" type="xxxVO & gt;" 


.

CodePudding user response:

It is recommended to use String + LongText access I also met anyway is in type

CodePudding user response:

reference 1st floor lin351550660 response:
recommended String + LongText access I also met anyway is in type

ORACLE if didn't LongText type?

CodePudding user response:

Java string used to receive it, ok

CodePudding user response:

reference KeepSayingNo reply: 3/f
Java string used to receive it, please
should not, unless the TO_CHAR, but doing so there is the risk of super-long, behind me with directly with the Map as a return type, can receive CLOB types of values
  • Related