I am doing insertion into a Oracle table using batchUpdate. Five different parallel threads are invoking batchUpdate method to insert into a single table. Table is of Global Temporary Table type.
Program execution is not completing, its getting stuck after establishing database connection.
Will multiple threads operating on a single global temporary table cause table lock and hold the execution of the program?
I can see the locked table using below query-
select object_name, object_type from all_objects where object_id in (select object_id from v$locked_object);