I developed an application using hibernate. Now My client wants that in my application there should be a button called "Export as SQL". When user click on that particular button it should generate the insert sql statements file for the data stored in database.
Please suggest me what would be the possible way to do this.
I am developing a small spring+hibernate_struts 2 application. I am using login interceptor. But my bean values are null in action class.
Here is the interceptor code