[jira] [Updated] (OFBIZ-5485) Improve induceFieldType() of ModelUtil.java to handle MSSQL NVARCHAR types

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

[jira] [Updated] (OFBIZ-5485) Improve induceFieldType() of ModelUtil.java to handle MSSQL NVARCHAR types

Nicolas Malin (Jira)

     [ https://issues.apache.org/jira/browse/OFBIZ-5485?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Christian Carlow updated OFBIZ-5485:
------------------------------------

    Attachment: OFBIZ-5485.patch

This patch adds NVARCHAR support for ModelUtil.induceFieldType().

> Improve induceFieldType() of ModelUtil.java to handle MSSQL NVARCHAR types
> --------------------------------------------------------------------------
>
>                 Key: OFBIZ-5485
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-5485
>             Project: OFBiz
>          Issue Type: Improvement
>    Affects Versions: SVN trunk
>            Reporter: Christian Carlow
>         Attachments: OFBIZ-5485.patch
>
>
> When using the ModelInduceFromDb.jsp to import MSSQL data many of the fields were assigned to types like "invalid-nvarchar:0:50".  This is because the induceFieldType() of ModelUtil.java does not handle "NVARCHAR".  The function should be changed to allow NVARCHAR type.



--
This message was sent by Atlassian JIRA
(v6.1.5#6160)