Default mappings for single properties
Default mappings for single properties
Default mappings for simple single properties
Default mappings for simple properties are defined on the per-type basis in default customizations. These mappings are developed based on the XML Schema type hierarchy:

Below is the table describing default mappings for XML Schema build-in types:
| # | Type | Mapping |
|---|---|---|
| 3.2.1 | xsd:string | <hj:basic><orm:column length="255"/></hj:basic> |
| 3.2.3 | xsd:decimal | <hj:basic><orm:column scale="10" precision="20"/></hj:basic> |
| 3.2.4 | xsd:float | <hj:basic><orm:column scale="10" precision="20"/></hj:basic> |
| 3.2.5 | xsd:double | <hj:basic><orm:column scale="10" precision="20"/></hj:basic> |
| 3.2.6 | xsd:duration | <hj:basic><orm:column length="127"/></hj:basic> |
| 3.2.7 | xsd:dateTime | <hj:basic><orm:temporal>TIMESTAMP</orm:temporal></hj:basic> |
| 3.2.8 | xsd:time | <hj:basic><orm:temporal>TIME</orm:temporal></hj:basic> |
| 3.2.9 | xsd:date | <hj:basic><orm:temporal>DATE</orm:temporal></hj:basic> |
| 3.2.10 | xsd:gYearMonth | <hj:basic><orm:temporal>DATE</orm:temporal></hj:basic> |
| 3.2.11 | xsd:gYear | <hj:basic><orm:temporal>DATE</orm:temporal></hj:basic> |
| 3.2.12 | xsd:gMonthDay | <hj:basic><orm:temporal>DATE</orm:temporal></hj:basic> |
| 3.2.13 | xsd:gDay | <hj:basic><orm:temporal>DATE</orm:temporal></hj:basic> |
| 3.2.14 | xsd:gMonth | <hj:basic><orm:temporal>DATE</orm:temporal></hj:basic> |
| 3.2.15 | xsd:hexBinary | <hj:basic><<orm:lob/></hj:basic> |
| 3.2.16 | xsd:base64Binary | <hj:basic><orm:lob/></hj:basic> |
| 3.3.3 | xsd:language | <hj:basic><orm:column length="17"/></hj:basic> |
| 3.3.13 | xsd:integer | <hj:basic><orm:column scale="0" precision="20"/></hj:basic> |
| 3.3.16 | xsd:long | <hj:basic><orm:column scale="0" precision="20"/></hj:basic> |
| 3.3.17 | xsd:int | <hj:basic><orm:column scale="0" precision="10"/></hj:basic> |
| 3.3.18 | xsd:short | <hj:basic><orm:column scale="0" precision="5"/></hj:basic> |
| 3.3.19 | xsd:byte | <hj:basic><orm:column scale="0" precision="3"/></hj:basic> |
| 3.3.21 | xsd:unsignedLong | <hj:basic><orm:column scale="0" precision="20"/></hj:basic> |
| 3.3.22 | xsd:unsignedInt | <hj:basic><orm:column scale="0" precision="10"/></hj:basic> |
| 3.3.23 | xsd:unsignedShort | <hj:basic><orm:column scale="0" precision="5"/></hj:basic> |
| 3.3.24 | xsd:unsignedByte | <hj:basic><orm:column scale="0" precision="3"/></hj:basic> |