Part of ALF-4512: MLText and NULL storage problems

- Moved problems from SQL constraint violations to MLText conversion problems
 - TODO: Somehow single d:text when switching over to d:mltext


git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@22037 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Derek Hulley
2010-08-27 05:45:01 +00:00
parent c4559338a4
commit 7703a41412
6 changed files with 384 additions and 31 deletions

View File

@@ -568,7 +568,11 @@ public class NodePropertyValue implements Cloneable, Serializable
{
return ValueType.BOOLEAN;
}
else if ((value instanceof Integer) || (value instanceof Long))
else if (value instanceof Integer)
{
return ValueType.INTEGER;
}
else if (value instanceof Long)
{
return ValueType.LONG;
}