apache / apache/iotdb

mybaits mapper.xml insert SQLException:Does not support prepareStatement

Open
#12,557 2 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
6.4k
Forks
1.2k
Avg merge
1d 23h
Merged PRs (30d)
115

Description

![image](https://github.com/apache/iotdb/assets/5773051/f24dc5d9-40dd-4c64-8495-a3d88a092c19)

select exec:
![image](https://github.com/apache/iotdb/assets/5773051/392621f0-3b26-432d-88fc-f2f49e514f70)

insert exec:
![image](https://github.com/apache/iotdb/assets/5773051/2e3b5c79-174f-49fb-a329-8b5e243a3939)

client exec:
![image](https://github.com/apache/iotdb/assets/5773051/58372589-bdcd-423e-90e8-9f3f843ea5dc)

Contributor guide

Open the contributing guide

Research direction

Start by locating the referenced mapper.xml insert mapping and comparing it with the shown select and client execution paths. Reproduce the reported SQLException and trace the mapper-based insert into the database layer; done means the insert executes without the prepareStatement error.

Written by the indexing model from the issue text.

Assessment

Tech stack
java, sql
Domain
database
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.