-
Notifications
You must be signed in to change notification settings - Fork 19
jdbc: map Tarantool/SQL types into JDBC/Java types #92
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
Comments
|
Related: #27. |
See also #130 and tarantool/tarantool#4019 |
Boolean was instroduced in 2.2: tarantool/tarantool#3648 |
Note: A SCALAR field can hold types other then msgpack bin. We need to handle and test this appropriately. |
See #214 re VARBINARY type in tarantool-2.2. |
We should consider the commit 2.2.0-632-g36bdfbb24 ('sql: rename REAL/FLOAT/DOUBLE types to NUMBER') which is first released in tarantool-2.2.1. There is no good way to determine whether REAL/FLOAT/DOUBLE is supported or NUMBER. @kostja says we should drop support for tarantool versions below 2.2.1 in the scope of JDBC work. Maybe this is the only good way to handle this. |
We discussed a bit the problem with floating point types. I suggest to do the following:
|
See also tarantool/tarantool@b7d595a |
In scope of #218 the following things were done:
next issues remain:
It also includes ResultSet.getObject family methods, PreparedStatement.setObject family methods, and implicit conversions between types defined in Appendix B. |
Nice! I think we can close this issue with PR #218 and file a new one about type conversions. |
done in commit 2cc1a09 |
Tarantool 2.1 now support static types. Currently supported types are described on wiki. We need to map Tarantool/SQL types to JDBC types in
DatabaseMetaData.getColumns
,ResultSetMetaData.getColumnType
and other related methods.The text was updated successfully, but these errors were encountered: