The end transaction, executed at the end of a test, implements user termination. This transaction should free all references on all remaining Java test objects.
JavaFreeObject(in hObject: number) takes a handle on a Java object as a parameter and frees all references to it.
Here is an example end transaction:
dcltrans
transaction TEnd
begin
JavaFreeObject(hTestObj);
end TEnd;