lyf200581105 commented on issue #19503:
URL: 
https://github.com/apache/shardingsphere/issues/19503#issuecomment-1193620221

   > Hi @lyf200581105, thank you for your feedback. Can you show the original 
sql which send to ShardingSphere?
   
   Thanks for your reply.
   I'm using jpa API: repository.findById(id), the original search sql is like 
below:
   
   Hibernate: select testmodel0_.id as id1_0_0_, testmodel0_.create_time as 
create_t2_0_0_, testmodel0_.last_update_time as last_upd3_0_0_, 
testmodel0_.model_name as model_na4_0_0_, testmodel0_.module_res_id as 
module_r5_0_0_ from db_test testmodel0_ where testmodel0_.id=?
   
   2022-07-19T08:57:54.998 INFO [http-apr-0.0.0.0-8080-exec-9] 
org.apache.shardingsphere.infra.executor.sql.log.SQLLogger.log-74 | Logic SQL: 
select testmodel0_.id as id1_0_0_, testmodel0_.create_time as create_t2_0_0_, 
testmodel0_.last_update_time as last_upd3_0_0_, testmodel0_.model_name as 
model_na4_0_0_, testmodel0_.module_res_id as module_r5_0_0_ from db_test 
testmodel0_ where testmodel0_.id=?


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