ClickHouse / ClickHouse/clickhouse-java
[JDBC-V2] Make `DatabaseMetaDataImpl` use `PreparedStatement`.
Aperta
area:jdbc-metadata
jdbc-v2
- Lingua principale
- Java
- Stelle
- 1.6k
- Fork
- 636
- Merge medio
- 2g 23h
- PR unite (30g)
- 29
Descrizione
## Description
There are many places in `DatabaseMetaDataImpl` that construct a dynamic query. It is wrong because leads to a security issue.
- All queries should use `PreparedStatement`
- Where is it no possible - should be reviewed and needed escaping should be added
Guida per i contributori
Apri la guida per i contributori
Valutazione
Questa issue non è ancora stata valutata.