yanickxia commented on issue #3024: proxy-4.0.0-RC2 process blob data error
URL: 
https://github.com/apache/incubator-shardingsphere/issues/3024#issuecomment-542659474
 
 
   @xriqyu  i try 4 different way to reappear it , but without success. 
   
   RAW - JDBC Direct to Mysql
   RAW - JDBC By Proxy to Mysql
   
   Mybatis Direct to Mysql
   Mybatis By Proxy to Mysql
   
   this is my mybatis xml
   
   ```xml
   <?xml version="1.0" encoding="UTF-8" ?>
   <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" 
"http://mybatis.org/dtd/mybatis-3-mapper.dtd";>
   <mapper namespace="com.example.shardingdemo.mapper.DataMapper">
   
       <resultMap id="baseResultMap" 
type="com.example.shardingdemo.entity.DataRecord">
           <result column="uuid" property="uuid" jdbcType="VARCHAR"/>
           <result column="type" property="type" jdbcType="INTEGER"/>
           <result column="byteData" property="byteData" jdbcType="BLOB" />
       </resultMap>
   
       <insert id="insert" useGeneratedKeys="true" keyProperty="uuid">
           INSERT INTO data_record (uuid, `type`, byteData) VALUES 
(#{uuid,jdbcType=VARCHAR}, #{type,jdbcType=INTEGER}, #{byteData, 
jdbcType=BLOB});
       </insert>
   
       <select id="select" resultMap="baseResultMap">
           SELECT * FROM data_record where uuid = #{uuid};
       </select>
   </mapper>
   ```
   
   can you see any different? or give me your demo project. thanks

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to