mirror of
https://github.com/CodePhiliaX/Chat2DB.git
synced 2025-07-29 10:43:06 +08:00
Optimize code
This commit is contained in:
@ -0,0 +1,30 @@
|
||||
package ai.chat2db.plugin.oracle.value;
|
||||
|
||||
import ai.chat2db.spi.jdbc.DefaultValueProcessor;
|
||||
import ai.chat2db.spi.model.JDBCDataValue;
|
||||
import ai.chat2db.spi.model.SQLDataValue;
|
||||
|
||||
/**
|
||||
* @author: zgq
|
||||
* @date: 2024年06月03日 22:30
|
||||
*/
|
||||
public class OracleValueProcessor extends DefaultValueProcessor {
|
||||
|
||||
|
||||
@Override
|
||||
public String convertSQLValueByType(SQLDataValue dataValue) {
|
||||
return super.convertSQLValueByType(dataValue);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String convertJDBCValueByType(JDBCDataValue dataValue) {
|
||||
return super.convertJDBCValueByType(dataValue);
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String convertJDBCValueStrByType(JDBCDataValue dataValue) {
|
||||
return super.convertJDBCValueStrByType(dataValue);
|
||||
}
|
||||
}
|
@ -0,0 +1,9 @@
|
||||
package ai.chat2db.plugin.oracle.value.factory;
|
||||
|
||||
/**
|
||||
* @author: zgq
|
||||
* @date: 2024年06月03日 23:21
|
||||
*/
|
||||
public class OracleValueProcessorFactory {
|
||||
|
||||
}
|
@ -1,4 +1,4 @@
|
||||
package ai.chat2db.plugin.oracle.template;
|
||||
package ai.chat2db.plugin.oracle.value.template;
|
||||
|
||||
/**
|
||||
* @author: zgq
|
Reference in New Issue
Block a user