[jira] [Commented] (OFBIZ-8343) Make data type field length of id fields accept guid ids

Posted by Nicolas Malin (Jira) on
URL: http://ofbiz.116.s1.nabble.com/jira-Commented-OFBIZ-8343-Make-data-type-field-length-of-id-fields-accept-guid-ids-tp4700275.html


    [ https://issues.apache.org/jira/browse/OFBIZ-8343?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15752493#comment-15752493 ]

Scott Gray commented on OFBIZ-8343:
-----------------------------------

I'm confused by the intent of this patch because OFBiz doesn't generate UUIDs for id columns, it generates sequenced numbers.  So why would we globally change the length of a field that ultimately won't contain auto-generated UUIDs without customization?

Additionally, we have the id-long field type which a user can switch to for specific tables if they want to use a different type/length ID.

Lastly, certain tables have no need whatsoever for UUIDs (status, type, enumeration etc.) so it doesn't make sense to make this a global field-type change.

> Make data type field length of id fields accept guid ids
> --------------------------------------------------------
>
>                 Key: OFBIZ-8343
>                 URL: https://issues.apache.org/jira/browse/OFBIZ-8343
>             Project: OFBiz
>          Issue Type: Improvement
>          Components: framework
>    Affects Versions: Trunk
>            Reporter: Pierre Smits
>            Assignee: Pierre Smits
>         Attachments: OFBIZ-8343-fieldtype-36.patch, OFBIZ-8343-fieldtype.patch
>
>
> Currently the length of id fields is limited to 20 characters. In order for these fields to accept GUIIDs the length should be increased to 32 characters.



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