How to generate a lot of pages from a database in WordPress?

I have a page template that I have to use for hundreds of different products. I do not have the intention to create all these pages manually and I want to know how to automatically generate them from a database while still being able to use this page template.

If anyone could explain how to get around it simply, I would appreciate it.