wpd-static commented on issue #28578:
URL: 
https://github.com/apache/shardingsphere/issues/28578#issuecomment-1733676213

   In a java test project,springboot project,the pom file is imported,` 
<dependency>
               <groupId>mysql</groupId>
               <artifactId>mysql-connector-java</artifactId>
               <version>8.0.32</version>
               <scope>runtime</scope>
           </dependency>`,`<dependency>
               <groupId>org.apache.shardingsphere</groupId>
               
<artifactId>shardingsphere-jdbc-core-spring-boot-starter</artifactId>
               <version>5.2.0</version>
           </dependency>`,` <parent>
           <groupId>org.springframework.boot</groupId>
           <artifactId>spring-boot-starter-parent</artifactId>
           <version>3.0.3</version>
           <relativePath/>
       </parent>`.
   The test code is,       
           ` ObString obString = new ObString();
           obString.setId(MyIdUtil.getSnowflakeNextId());
           obString.setRefId(1704678770319065096L);
           obString.setName("测试");
           obString.setValue("测试");
           String sql = "INSERT INTO ob_string (id,name, value, ref_id) VALUES 
(?, ?, ?, ?)";
           jdbcTemplate.update(sql, obString.getId(), obString.getName(), 
obString.getValue(), obString.getRefId());`
   in JdbcTemplate execute 427 row, `ps = psc.createPreparedStatement(con);`No 
execution **ShardingSpherePreparedStatement**,i'm sorry to trouble you


-- 
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.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to