In a mapping in ODI 12c I want to create a recursive query using a with clause. As I don't see any special type of object for implementing a with clause, I tried to use the CUSTOM_TEMPLATE property of the default "XKM Oracle Extract" Knowledge Module to override the generated code. Unfortunately, the select I applied in this property is not used.
Questions:
- Is there another (better) way to implement an hierarchical/recursive query in a mapping?
- Why isn't the sql in the CUSTOM_TEMPLATE picked up?