There is also the possibility of calling oracle's process through java, passing the data in memory through a collection into oracle's process, inserting into the database with
forall in the process, which reduces the pressure on the application server, and the process is executed on the oracle server, how to eliminate the need for frequent network transfers.