[
https://issues.apache.org/jira/browse/IGNITE-3937?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Alexey Kuznetsov reassigned IGNITE-3937:
----------------------------------------
Assignee: Pavel Konstantinov (was: Alexey Kuznetsov)
Pavel, please test.
To test:
# create in *MySQL* table like this:
{code}
CREATE TABLE zzz (
a int(11) unsigned,
b int(11)
)
{code}
Then in schema import utility import this table.
Field "a" should be mapped to *java.lang.Long*
Field "b" should be mapped to *java.lang.Integer*
> DatabaseMetadataDialect should properly handle unsigned types
> -------------------------------------------------------------
>
> Key: IGNITE-3937
> URL: https://issues.apache.org/jira/browse/IGNITE-3937
> Project: Ignite
> Issue Type: Bug
> Components: wizards
> Affects Versions: 1.6
> Reporter: Alexey Kuznetsov
> Assignee: Pavel Konstantinov
> Fix For: 1.8
>
>
> Some databases (for example MySQL) could declare columns like this {code}id
> int(11) unsigned{code} in this case *DatabaseMetadataDialect* will map to
> *int*, but should map to *long*.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)