I'm using Hibernate 4.3.5-Final for my Java Swing application and I do many UDPATE
, INSERT
and DELETE
with it (in HQL or with Criteria
).
Now, what I'm trying to do is to export a SQL script of all modifications done on my database but I don't know how to do that. This script need to contain only the modifications (and not the creation of the tables) and put them on a .sql
file (exported file path will be chosen by the user)
Do you have any ideas that can solve my problem ?
Thank you in advance !
[Edit] : Some forums talk about p6spy
, can it answer to my problem ?