Yes, as Trista said, please provide your configuration file to help us
locate the exception.
--
Liang Zhang (John)
Apache ShardingSphere & Dubbo
xu 于2019年12月6日周五 下午6:19写道:
> sql is :
>
> INSERT INTO cv_task_mark_user (
> team_id ,
> task_id ,
> pin,
>
sql is :
INSERT INTO cv_task_mark_user (
team_id ,
task_id ,
pin,
creator,
created,
deleted
)
VALUES
(#{item.teamId},#{item.taskId},#{item.pin},#{item.creator},now(),0)
parameterType="List" 参数是一个集合List
At 2019-12-06 18:08:35,
Hi thanks for your detailed log. What’s your sharding rule?
Looking at log, i found the actual SQL is same with the logic one, and there is
no difference. Does table named `cv_task_mark_user ` is a sharding table?
Have you ever referred to sharding-examples[1], which provides several
> Using mybatis, the parameter is list to report null pointer error.
I can't understand `the parameter is list`, what's mean?
--
Liang Zhang (John)
Apache ShardingSphere & Dubbo
xu 于2019年12月6日周五 下午5:48写道:
> Using mybatis, the parameter is list to report null pointer error.