I have developed Spring boot application. I wanna to do integration test with h2 database. I want some real time data to test. One high level entity contains lot of "one-to-many" and "one-to-one" entity. I need to write 25 queries to get actual data in sql developer.
I need lot of test data. Is there any way to export hibernate objects into DML (insert) statements