bea.com | products | dev2dev | support | askBEA |
![]() |
![]() |
|
![]() |
e-docs > Liquid Data for WebLogic > Building Queries and Data Views > Type Casting Reference |
Building Queries and Data Views
|
This section provides details on how Data View Builder implements data type transformation for automatic type casting. The following topics are included:
When you request Automatic Type Casting, Liquid Data can reassign a data type if the data type of the source node does not match the data type of the mapped target node but the data types are compatible. Use the information in the following sections to predict the automatic type casting behavior when this occurs.
Note: For information on how to set the option for automatic type casting in the Data View Builder, see Using Automatic Type Casting.
Type Casting to a Numeric Target
The following table shows whether Liquid Data transforms a source node data type to the numeric data type of the target node.
Type Casting to a Non-Numeric Target
The following table shows whether Liquid Data transforms a source node data type to the non-numeric data type of the target node.
Note: The type cast from xs:dateTime to xs:date and xs:time uses xfext:date-from-dateTime() and xfext:time-from-dateTime.
Type Casting Function Parameters
In some cases, Liquid Data can transform the data type for a function parameter when a mismatch occurs.
![]() |
![]() |
![]() |
![]() |
||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |