You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by "AMashenkov (via GitHub)" <gi...@apache.org> on 2023/06/07 14:07:25 UTC

[GitHub] [ignite-3] AMashenkov commented on a diff in pull request #2056: IGNITE-15507: correct type mapping for JDBC metadata.

AMashenkov commented on code in PR #2056:
URL: https://github.com/apache/ignite-3/pull/2056#discussion_r1211722780


##########
modules/api/src/main/java/org/apache/ignite/sql/ColumnType.java:
##########
@@ -164,4 +164,23 @@ public static Class<?> columnTypeToClass(ColumnType type) {
                 throw new IllegalArgumentException("Unsupported type " + type);
         }
     }
+
+    /**
+     * Column type to Java class for JDBC.
+     */
+    public static Class<?> columnTypeToJdbcClass(ColumnType type) {

Review Comment:
   As I see, methods 'columnTypeToJdbcClass' and 'columnTypeToClass' are used in 
   * clients, client-handler modules - to return correct java class for particular client
   * sql-engine module - to return correct java class in case of embedded node
   The common module for all of them is ignite-client-common.
   



-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org