You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ofbiz.apache.org by "Christian Carlow (JIRA)" <ji...@apache.org> on 2014/01/14 17:54:50 UTC

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

     [ 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)