|
@@ -22,6 +22,7 @@ import lombok.extern.slf4j.Slf4j;
|
|
import org.apache.ibatis.type.BaseTypeHandler;
|
|
import org.apache.ibatis.type.BaseTypeHandler;
|
|
import org.apache.ibatis.type.JdbcType;
|
|
import org.apache.ibatis.type.JdbcType;
|
|
import org.apache.ibatis.type.MappedJdbcTypes;
|
|
import org.apache.ibatis.type.MappedJdbcTypes;
|
|
|
|
+import org.apache.ibatis.type.MappedTypes;
|
|
|
|
|
|
import java.io.IOException;
|
|
import java.io.IOException;
|
|
import java.sql.CallableStatement;
|
|
import java.sql.CallableStatement;
|
|
@@ -36,6 +37,7 @@ import java.sql.SQLException;
|
|
* @since 2019-08-25
|
|
* @since 2019-08-25
|
|
*/
|
|
*/
|
|
@Slf4j
|
|
@Slf4j
|
|
|
|
+@MappedTypes({Object.class})
|
|
@MappedJdbcTypes(JdbcType.VARCHAR)
|
|
@MappedJdbcTypes(JdbcType.VARCHAR)
|
|
public class JacksonTypeHandler extends BaseTypeHandler<Object> {
|
|
public class JacksonTypeHandler extends BaseTypeHandler<Object> {
|
|
private static ObjectMapper objectMapper;
|
|
private static ObjectMapper objectMapper;
|