Hello,
I am loading our database; I receive the data via
SOAP messages. I have @Entity classes created for each table, and want to persist 100 or so records in a table in one transaction.
I'm using Spring, and at first wanted to use the CrudRepository to store the records one at a time. This is too slow.
Can anyone suggest another way using the @Entity classes, and @Transaction to store 100 entities during a single transaction?
I will call this from an @Service class.
Many thanks and I look forward to hearing back.
Ravi