Data Type for Attributes
The Data Types for Attributes table lists the data types used for attributes.
Data Type | Description |
---|---|
Date | Can be in any of the supported Date formats.
Note: The attribute data type cannot be changed from Date to String. |
Timestamp | Timestamp format allows you to select the date, time, and time zone together. You can add the Timestamp data type for a single value, multivalue, and relationship attributes. TIBCO MDM supports the following Timestamp formats:
|
Integer | Can have a maximum scale of 10 and value must be less than 2147483648. |
Decimal |
The number can be represented as (p,s) where p is the precision and s is the scale and then describe everything with respect to precision and scale. Can have maximum scale of 7 and a maximum precision of 30. The non-fractional part can be 23. Also, it can be 22 + decimal point + scale of 7. The decimal value defined for the decimal type attribute for a repository gets rounded up. For example, when you create a record with decimal attribute value as 60001111444466668888999.7832521. |
String | The default length of a string attribute is determined by configuration, and unless changed, it is 256 characters. If zero is specified, default is assumed. |
File | The default length of a File attribute is determined by configuration, and unless changed, it is 256 characters. |
Amount | This can have a maximum scale of 8 and a maximum precision of 30. |
Boolean | The boolean attribute can take the
false,
true,
FALSE, or
TRUE value. Note that mixed case is not allowed, that is, a value such as
False or
True is not allowed.
It can have a maximum length of five characters. |
Custom Decimal |
The number can be represented as (p,s) where p is the precision and s is the scale and then describe everything with respect to precision and scale. Use Custom Decimal if you need to store decimals that have more than eight digits in the fractional part. Can have a maximum scale of 29 and a maximum precision of 30. The non-fractional part of the number can have a maximum of 29 digits. However, this will work only if your database supports the fractional part of a decimal to be over eight decimal places. The default values are: scale(12) + decimal point (1) + integer part (18) = 31 (maximum length) |
Long | Long is a primitive data type that maps to Java Long. The behavior is similar to the Integer data type. The maximum length is 19. |
URL | URL is a derived data type based on the String data type. The behavior is similar to the String data type, except for the following: |
For information on customizing the data types, refer to Customization Guide. |