[jira] [Commented] (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] [Commented] (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:comment-tabpanel&focusedCommentId=13870955#comment-13870955 ]

Jacques Le Roux commented on OFBIZ-5485:
----------------------------------------

Did you test/use it?

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