You can define Java code in an active Java transformation to generate transaction rows, such as commit and rollback rows. To generate transaction rows, enable the transformation to generate transaction rows.
When you configure the transformation to generate transaction rows, the Integration Service treats the Java transformation like a Transaction Control transformation. Most rules that apply to a Transaction Control transformation in a mapping also apply to the Java transformation. For example, when you configure a Java transformation to generate transaction rows, you cannot concatenate pipelines or pipeline branches containing the transformation.
When you edit or create a session using a Java transformation configured to generate transaction rows, configure it for user-defined commit.