I am Working on a spring boot project using PostgreSQL DB. I want to insert some static data in the DB, which will never be changed. What is the best way to perform this:-
1- Using .sql file in my classpath. But the problem is, it will always insert the data whenever the application starts.
2- Using insert query in the DB. Only one-time operation.
3- Using dataInitializer in spring boot main class and inserting the data from the code.
Thanks in advance.