Is there an existing library/framework that I can leverage on that will allow me to generate an INSERT mysql scripts from a query result.
For example, in HQL I have:
SELECT book FROM book b WHERE b.created >= :today
Instead of a List<Book>, what I'll have are the texts:
INSERT INTO book VALUES (...)
Or anyway I can convert list of hibernate entity into a mysql script INSERT INTO script.
Any assistance will be appreciated.
Thank you!