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

Florent Guillaume updated NXP-3993:
-----------------------------------

      Impact type: [Content model Change,  Configuration format change]
    Upgrade notes: 
- String fields are now by default mapped to a VARCHAR type. You can ALTER 
TABLE your old database to turn CLOBs into VARCHARs if needed.

- To have a string field (ex: my:field) mapped to a CLOB, you must give it 
type="largetext" in the repository config extension point 
(org.nuxeo.ecm.core.repository.RepositoryService):
<component name="...">
  <extension target="org.nuxeo.ecm.core.repository.RepositoryService" 
point="repository">
    <repository name="default" 
factory="org.nuxeo.ecm.core.storage.sql.coremodel.SQLRepositoryFactory">
      <repository>
        <schema>
          <field type="largetext">note:note</field>
          <field type="largetext">my:field</field>
          ...
        </schema>
        ...
      </repository>
    </repository>
  </extension>
</component>


>  Avoid 2000 characters limit for some fields
> --------------------------------------------
>
>                 Key: NXP-3993
>                 URL: http://jira.nuxeo.org/browse/NXP-3993
>             Project: Nuxeo Enterprise Platform
>          Issue Type: Bug
>          Components: Core SQL Storage
>    Affects Versions: 5.2 GA
>            Reporter: Delphine Renevey
>            Assignee: Florent Guillaume
>            Priority: Blocker
>             Fix For: 5.2.1
>
>
> In some cases the Oracle server fails to set values for contenuTextuel and / 
> or contenuEditoriel because the value uploaded is too large. The DB text 
> columns are set to NCHARVAR2(2000), value apparently exceeded by the fields 
> values. Most probably, the limit of 2000 is set in storage SQL modules, 
> Oracle accepting 4000 as limit.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: 
http://jira.nuxeo.org/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