I am implementing a service which imports data into DB using hibernate. the number of db entries it creates might be between 10 to 10 million
Can I just use the list interface of JPA to save such data or do I need to do some optimization ? or do we have based on the size like below.
- when the number of objects is < 10
- when the number of objects is in 100s
- when it is in millions