Is it possible for a java application, called by Oracle Forms, to participate in the same database session like Forms?
+1
A:
The only way I know of is for the java application to run as a component of a form, e.g. as a java bean within a form container.
Jeffrey Kemp
2009-05-28 11:07:27
Looks like Sten has shot down this idea. I think the best option then might be for the java bean to delegate all SQL to the Form.
Jeffrey Kemp
2009-07-06 15:33:32
+1
A:
This is unfortunately not possible. The Forms process itself runs in the Forms Runtime on the server, which is a C program.
You can include a JavaBean as Jeffrey suggests, but the JavaBean will open it's own connection through JDBC - it will not share the transaction context of the Form.
There might be other ways - try updating the question with some details on what you are trying to achieve and I'll be happy to try to help you.
Sten Vesterli
2009-06-03 18:08:45