I need to call a number of different procedures within an Oracle package successively within a transaction. In fact, I need to call them about 5000 times. I was wondering what syntax I could use to batch these calls to Oracle, so I only need one round trip. I've tried "PACKAGE.PROCA :1, :2; PACKAGE.PROCB :3, :4, :5;" but I get back ORA00900: invalid SQL statement.
Any pointers? I know about passing arrays of parameters to procedures but that won't help much in this case unfortunately.