You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@metamodel.apache.org by "Kasper Sørensen (JIRA)" <ji...@apache.org> on 2015/05/18 15:48:00 UTC

[jira] [Created] (METAMODEL-141) Automatic datatype mapping in JDBC module

Kasper Sørensen created METAMODEL-141:
-----------------------------------------

             Summary: Automatic datatype mapping in JDBC module
                 Key: METAMODEL-141
                 URL: https://issues.apache.org/jira/browse/METAMODEL-141
             Project: Apache MetaModel
          Issue Type: Improvement
            Reporter: Kasper Sørensen


I am right now running into a issue that I have seen in various different styles: I am executing a CREATE TABLE operation with MetaModel where one of the data types is ColumnType.DOUBLE. It works on some databases but for instance on MS SQL Server it crashes because there is no DOUBLE type on SQL server. Instead there's a NUMERIC type that could be used to hold the same information. So it would be very nice if MetaModel could do a database-vendor specific datatype conversion so that the same CREATE TABLE statement can be applied to multiple datastores.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)