My Oracle Support Banner

Replace Null With "" For A Column Value Is Null in GoldenGate Big Data (Doc ID 2422941.1)

Last updated on AUGUST 02, 2018

Applies to:

Oracle GoldenGate Application Adapters - Version 12.3 and later
Information in this document applies to any platform.

Goal

could you please let me know how i can change default value of null into "". as per documentation, it is null.


https://docs.oracle.com/goldengate/bd1221/gg-bd/GADBD/GUID-F0FA2781-0802-4530-B1F0-5E102B982EC0.htm#GADBD505

Column value is NULL - The default output value is a JSON NULL. In the following example the member STATE is NULL.

current value

  "after":{ "CUST_CODE":"BILL", "NAME":"BILL'S USED CARS", "CITY":"DENVER", "STATE":null }

expected value -- check value for state

  "after":{ "CUST_CODE":"BILL", "NAME":"BILL'S USED CARS", "CITY":"DENVER", "STATE":"" }
 

Solution

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.