prepared statement
- Vorherrschende Sprache
- C++
- Sterne
- 127
- Forks
- 80
- Ø Merge
- 13 Std. 49 Min.
- Gemergte PRs (30 T.)
- 48
Beschreibung
The documentation appears to indicate that prepared statements are supported, but I get the following when trying to use prepared statements (v1.1.3)
java.sql.SQLFeatureNotSupportedException: prepareStatement
I think that it is related to the following:
con.prepareStatement(sql, Statement.RETURN_GENERATED_KEYS)
My guess is that DuckDb is not supporting the RETURN_GENERATED_KEYS option. If that is the case, then the documentation should indicate this lack of support for a basic JDBC functionality or if it is supported then it is not working.
Beitragsleitfaden
Für dieses Repository ist kein Beitragsleitfaden indexiert
Rechercherichtung
Beginne damit, den im Issue beschriebenen Aufruf prepareStatement(sql, Statement.RETURN_GENERATED_KEYS) mit DuckDB JDBC v1.1.3 zu reproduzieren. Untersuche die JDBC-Implementierung für diesen Einstiegspunkt und ermittle, ob RETURN_GENERATED_KEYS nicht unterstützt wird oder fehlerhaft funktioniert; die Aufgabe ist abgeschlossen, wenn das Verhalten korrigiert wurde oder die Dokumentation die Einschränkung eindeutig angibt.
Vom Indexierungsmodell aus dem Issue-Text verfasst.
Bewertung
- Tech-Stack
- java, sql
- Bereich
- databases
- Issue-Typ
- Bug
- Schwierigkeit
- 3/5
- Geschätzter Aufwand
- 1-2 Tage
- Aktivitätsstatus
- Veraltet
- Klarheit
- Größtenteils klar
- Anfängerfreundlichkeit
- 35/100