O'Reilly logo

Oracle GoldenGate 11g Implementer's guide by John P Jeffries

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

User Exits

If you find that your application requires arithmetic calculation or data transformation beyond that provided by GoldenGate functions and SQLEXEC, it is possible to invoke User Exits. These are user defined C or C++ function calls, extending the capabilities of GoldenGate. Typical applications for user exits are housekeeping tasks, data normalization, and conflict detection and handling.

Calling C routines

The user-defined functions may be called from either an Extract or Replicat process via the CUSEREXIT parameter.

To use user exits, create a shared object in C and create a routine to be called from Extract or Replicat.

The routine must accept the following parameters that provide the communication between GoldenGate and your C program: ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required