'Load data from JSON file in db on application start

I have a project (docker, spring+react) that uses liquibase (oracle+postgres). There is a json file, the data from which needs to be loaded into the database when the application starts. The easiest way is to do it using @PostConstruct annotated method, but due to architecture issues, I can't load data that way. I found OPENROWSET method, but it's not implemented in Oracle db, so I can't create a script for liquibase. Is there any other way to do this?



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source