[ 
https://jira.nuxeo.com/browse/NXP-6301?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Florent Guillaume updated NXP-6301:
-----------------------------------

         Assignee: Florent Guillaume  (was: Wojciech Sulejman)
      Impact type: [ Configuration format change]
    Upgrade notes: 
New feature: 

To add a specific length to a VARCHAR column used in a directory, use in the 
schema:

  <xs:simpleType name="string50">
    <xs:restriction base="xs:string">
      <xs:maxLength value="50" />
    </xs:restriction>
  </xs:simpleType>

  <xs:element name="mystring" type="nxs:string50" />


In VCS, string fields with a length bigger than the maximum length allowed for 
a VARCHAR will be automatically turned into a CLOB.
Actual database limits are:
- 65535 for MySQL
- 4000 for SQL Server
- 2000 for Oracle


> Make schema string field length configurable
> --------------------------------------------
>
>                 Key: NXP-6301
>                 URL: https://jira.nuxeo.com/browse/NXP-6301
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Improvement
>    Affects Versions: 5.4.0.1
>            Reporter: Alexandre Russel
>            Assignee: Florent Guillaume
>             Fix For: 5.4.1
>
>
> We should be able to do:
>   <simpleType name="myString">
>    <restriction base="string">
>      <maxLength value="200"/>
>    </restriction>
>   </simpleType>
> For directories, this should be creating columns of the given size.
> For VCS behavior is to be defined.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
https://jira.nuxeo.com/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        
_______________________________________________
ECM-tickets mailing list
[email protected]
http://lists.nuxeo.com/mailman/listinfo/ecm-tickets

Reply via email to