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
JDBC setBoolean implementation #274
Comments
Another question: can I build JDBC driver only? Without building whole core? |
Previously the generated sql was of the form: WHERE column = "f" Now it generates: WHERE column = false Resolves #274
Thanks for the report. I've pushed a potential fix here: #276 , should be merged in a day or so. I've opened #277 requesting adding how to build the JDBC driver on its own. It's possible, but it's currently intertwined with the rest of our CMake-based build. It's basically two |
Previously the generated sql was of the form: WHERE column = "f" Now it generates: WHERE column = false Resolves #274
Hi there!
Why does the implementation of
setBoolean
in JDBC drive converts values tot
orf
? I get an exceptionjava.sql.SQLException: Query failed : Exception: Cannot compare between BOOLEAN and VARCHAR
.I'm using
mapdjdbc-1.0-SNAPSHOT-jar-with-dependencies.jar
and as I see, implementation is the same in master branch, https://github.com/omnisci/mapd-core/blob/master/java/mapdjdbc/src/main/java/com/mapd/jdbc/MapDPreparedStatement.java#L167Example code:
I obtain connection via ScalikeJDBC's
ConnectionPool
, but it's the same asDriverManager.getConnection(...)
Am I doing something wrong?
The text was updated successfully, but these errors were encountered: