In a spring boot application startup, i would like to populate a table in the in memory H2 database from a table in oracle database.
Is there an out of the box way to do this ? I am going over configuring multiple data bases with spring : Spring Boot Configure and Use Two DataSources
but all i need is one time load from oracle table into H2 table. So is there a cleaner way to do this?
Apart from initialisation, i don't need oracle table any further.
Thank you!
-Deepak