mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 10:43:06 +08:00
MysqlValueProcessor and OracleValueProcessor
This commit is contained in:
@ -21,7 +21,7 @@ public class OracleBlobProcessor extends DefaultValueProcessor {
|
||||
@Override
|
||||
public String convertJDBCValueByType(JDBCDataValue dataValue) {
|
||||
try {
|
||||
return dataValue.getBlobString(true);
|
||||
return dataValue.getBlobString();
|
||||
} catch (Exception e) {
|
||||
log.warn("convertJDBCValueByType error database: {} , error dataType: {} ",
|
||||
Chat2DBContext.getDBConfig().getDbType(), dataValue.getType(), e);
|
||||
|
@ -19,13 +19,13 @@ public class OracleClobProcessor extends DefaultValueProcessor {
|
||||
|
||||
@Override
|
||||
public String convertJDBCValueByType(JDBCDataValue dataValue) {
|
||||
return dataValue.getClobString(true);
|
||||
return dataValue.getClobString();
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String convertJDBCValueStrByType(JDBCDataValue dataValue) {
|
||||
return wrap(dataValue.getClobString(false));
|
||||
return wrap(dataValue.getClobString());
|
||||
}
|
||||
|
||||
private String wrap(String value) {
|
||||
|
Reference in New Issue
Block a user