I have beans that load data from database inside @PostConstruct methods. In my tests i need to load the dataset before the creation of spring context beans. Is there any way to do this?
It seems that the follow code is not working correctly. The dataset is loaded after the spring context beans creation.
I have beans that load data from database inside @PostConstruct methods. In my tests i need to load the dataset before the creation of spring context beans. Is there any way to do this?
It seems that the follow code is not working correctly. The dataset is loaded after the spring context beans creation.