Table of Contents

Search

  1. Preface
  2. Working with Transformations
  3. Aggregator Transformation
  4. Custom Transformation
  5. Custom Transformation Functions
  6. Data Masking Transformation
  7. Data Masking Examples
  8. Expression Transformation
  9. External Procedure Transformation
  10. Filter Transformation
  11. HTTP Transformation
  12. Identity Resolution Transformation
  13. Java Transformation
  14. Java Transformation API Reference
  15. Java Expressions
  16. Java Transformation Example
  17. Joiner Transformation
  18. Lookup Transformation
  19. Lookup Caches
  20. Dynamic Lookup Cache
  21. Normalizer Transformation
  22. Rank Transformation
  23. Router Transformation
  24. Sequence Generator Transformation
  25. Sorter Transformation
  26. Source Qualifier Transformation
  27. SQL Transformation
  28. Using the SQL Transformation in a Mapping
  29. Stored Procedure Transformation
  30. Transaction Control Transformation
  31. Union Transformation
  32. Unstructured Data Transformation
  33. Update Strategy Transformation
  34. XML Transformations

Transformation Guide

Transformation Guide

Compiling a Java Transformation

Compiling a Java Transformation

The
PowerCenter Client
uses the Java compiler to compile the Java code and generate the byte code for the transformation.
The Java compiler compiles the Java code and displays the results of the compilation in the
Output
window
on the code entry tabs. The Java compiler installs with the
PowerCenter Client
in the
java/bin
directory.
To compile the full code for the Java transformation, click
Compile
on the
Java Code
tab.
When you create a Java transformation, it contains a Java class that defines the base functionality for a Java transformation. The full code for the Java class contains the template class code for the transformation, plus the Java code you define on the code entry tabs.
When you compile a Java transformation, the
PowerCenter Client
adds the code from the code entry tabs to the template class for the transformation to generate the full class code for the transformation. The
PowerCenter Client
then calls the Java compiler to compile the full class code. The Java compiler compiles the transformation and generates the byte code for the transformation.
The results of the compilation display in the
Output
window. Use the results of the compilation to identify and locate Java code errors.
The Java transformation is also compiled when you click
OK
in the transformation.

0 COMMENTS

We’d like to hear from you!