Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

prepared statement #124

Open
rossetti opened this issue Jan 12, 2025 · 0 comments
Open

prepared statement #124

rossetti opened this issue Jan 12, 2025 · 0 comments

Comments

@rossetti
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant